-
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
xSQLServerAlwaysOnAvailabilityGroup: Resolved FQDN and Logic Bugs #853
xSQLServerAlwaysOnAvailabilityGroup: Resolved FQDN and Logic Bugs #853
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #853 +/- ##
====================================
+ Coverage 96% 96% +<1%
====================================
Files 31 31
Lines 3429 3430 +1
====================================
+ Hits 3310 3311 +1
Misses 119 119 |
Thinking that we should revert the changes to SQLPSStub to be pure SQLPS 2014 with this change? But unsure if there is other changes/tests that also need to be resolved first. Maybe a separate issue for reverting SQLPSStub to the correct SQLPS 2014 "level"? Reviewed 2 of 3 files at r1, 1 of 2 files at r3, 1 of 1 files at r4. CHANGELOG.md, line 65 at r4 (raw file):
Add full stop ('.') at the end of the sentence. CHANGELOG.md, line 73 at r4 (raw file):
Move full stop ('.') to the end of the sentence. CHANGELOG.md, line 75 at r4 (raw file):
Move full stop ('.') to the end of the sentence. CHANGELOG.md, line 122 at r4 (raw file):
Move full stop ('.') to the end of the sentence. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 371 at r4 (raw file):
Change to Tests/TestHelpers/CommonTestHelper.psm1, line 17 at r4 (raw file):
[System.UInt32] Tests/TestHelpers/CommonTestHelper.psm1, line 20 at r4 (raw file):
Remove this. Should not be needed (?). Or should it be mandatory in that parameter set? Tests/TestHelpers/CommonTestHelper.psm1, line 22 at r4 (raw file):
[System.String] Tests/TestHelpers/CommonTestHelper.psm1, line 49 at r4 (raw file):
Change to Tests/TestHelpers/CommonTestHelper.psm1, line 51 at r4 (raw file):
Don't think you need to loop. Just do PS J:\> Get-Module
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 3.3.1 AzureRM.Backup {Backup-AzureRmBackupItem, Disable-AzureRmBackupProtection...
Script 3.3.1 AzureRM.Batch {Disable-AzureBatchAutoScale, Disable-AzureBatchComputeNod...
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...
Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PS...
PS J:\> $a = @('AzureRM.Backup','AzureRM.Batch')
PS J:\> Remove-Module -Name $a -Verbose
VERBOSE: Performing the operation "Remove-Module" on target "Microsoft.Azure.Commands.AzureBackup (Path:
'C:\Users\johlju\Documents\WindowsPowerShell\Modules\AzureRM.Backup\3.3.1\Microsoft.Azure.Commands.AzureBackup.dll')".
VERBOSE: Performing the operation "Remove-Module" on target "AzureRM.Backup (Path:
'C:\Users\johlju\Documents\WindowsPowerShell\Modules\AzureRM.Backup\3.3.1\AzureRM.Backup.psm1')".
VERBOSE: Performing the operation "Remove-Module" on target "Microsoft.Azure.Commands.Batch (Path:
'C:\Users\johlju\Documents\WindowsPowerShell\Modules\AzureRM.Batch\3.3.1\Microsoft.Azure.Commands.Batch.dll')".
VERBOSE: Performing the operation "Remove-Module" on target "AzureRM.Batch (Path:
'C:\Users\johlju\Documents\WindowsPowerShell\Modules\AzureRM.Batch\3.3.1\AzureRM.Batch.psm1')".
VERBOSE: Removing the imported "Reactivate-AzureBatchTask" alias.
VERBOSE: Removing the imported "Get-AzureRmBatchSubscriptionQuotas" alias. Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 58 at r4 (raw file):
Maybe a blank row before this row? Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 82 at r4 (raw file):
Maybe a blank row before this row? Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 111 at r4 (raw file):
Maybe a blank row before this row? Comments from Reviewable |
Good call...I forgot that there were changes made. I think we should track that in a separate issue since I have no idea what that might break. Review status: all files reviewed at latest revision, 13 unresolved discussions. CHANGELOG.md, line 65 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. CHANGELOG.md, line 73 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. CHANGELOG.md, line 75 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. CHANGELOG.md, line 122 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 371 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 17 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 20 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 22 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 49 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 51 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Good catch! Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 58 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 82 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerAlwaysOnAvailabilityGroup.Tests.ps1, line 111 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 3 of 4 files at r5, 1 of 1 files at r6. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 371 at r4 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Please add a space before $ [System.Array] $submittedParameters... Tests/TestHelpers/CommonTestHelper.psm1, line 49 at r4 (raw file): Previously, randomnote1 (Dan Reist) wrote…
Please add a space before $ [System.Array] $otherStubModules... Comments from Reviewable |
@randomnote1 Changed the PR description for issues fixed to "Partially #517" so the issue doesn't get auto-closed on merge. "Resolves", "Fixes" triggers auto-close and my English isn't good enough to come up with a word that does not trigger auto-close 😄 |
How about "Fixes some of" or "Resolves part of"? |
Review status: all files reviewed at latest revision, 2 unresolved discussions. DSCResources/MSFT_xSQLServerAlwaysOnAvailabilityGroup/MSFT_xSQLServerAlwaysOnAvailabilityGroup.psm1, line 371 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/TestHelpers/CommonTestHelper.psm1, line 49 at r4 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Ah good suggestions! Both of them sounds good. Changed to 'Fixes some of' so it looks similar to the other ones. But I think "Resolves part of" sounds better :) Reviewed 2 of 2 files at r7. Comments from Reviewable |
Can you please rebase this one since I merged another PR. Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
… the supplied parameters.
… are loaded for the SQL version during testing
…ues. This will ensure properties are not set back to the default parameter value.
…d IP related tests. This was necessary because AppVeyor was not completing the full test in under 1 hour.
@johlju, I'm not sure if you saw, this PR has been rebased and is ready for your review. |
@randomnote1 No, I missed that sorry :/ |
Reviewed 1 of 1 files at r8. CHANGELOG.md, line 83 at r8 (raw file):
Seems there is changes here that should be removed? Line 83-86? Comments from Reviewable |
No worries! A lot of stuff came in all at the same time. Very easy to miss something. Review status: all files reviewed at latest revision, 1 unresolved discussion. CHANGELOG.md, line 83 at r8 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r9. CHANGELOG.md, line 47 at r9 (raw file):
A parenthesis was lost at the end here. (Sorry missed that in previous review) Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. CHANGELOG.md, line 47 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r10. Comments from Reviewable |
Waiting for the tests to pass before merging. |
Pull Request (PR) description
additional SQLServer variations.
This Pull Request (PR) fixes the following issues:
Fixes #468
Fixes #784
Fixes some of #517
Task list:
This change is