-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING CHANGE: SQLAlwaysOnService: Get-TargetResource should return Ensure=Absent #1760
Conversation
…n Ensure=Absent Remove IsHadrEnabled and return the state in Ensure. Update Test-TargetResource to look at Ensure instead of IsHadrEnabled. Update Tests to match.
Codecov Report
@@ Coverage Diff @@
## main #1760 +/- ##
====================================
Coverage 87% 87%
====================================
Files 38 38
Lines 6348 6349 +1
====================================
+ Hits 5574 5575 +1
Misses 774 774
|
I'm not entirely sure on the Tests so may need some help. The integration tests were labelled skip, but seem to have run anyway? |
There is a issue with a Windows patch that has broken credential decryption in LCM, so integration tests will fail until Microsoft releases a fix. |
I will review tomorrow or this weekend. 🙂 |
I'm waiting for the build workers to get the Windows patch for DSC so the integration tests can run. I will review then. |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @jrdbarnes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @jrdbarnes)
Pull Request (PR) description
Remove IsHadrEnabled and return the state in Ensure.
Update Test-TargetResource to look at Ensure instead of IsHadrEnabled.
Update Tests to match.
This Pull Request (PR) fixes the following issues
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
This change is