-
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
Changes to xSQLServerMaxDop #317
Conversation
Pester failed in Windows Powershell but all is good in PowerShell ISE, any idea ? oO |
ISE seems to handle variables in a different scope and therefor when you do some things in ISE it does not work in the console. I have had that problem more than once, so now days I always run the tests i PowerShell Console (and edit in VS Code). I will check the code to see if I can help. :) |
There is something strange in the file here: |
I found the pester issue, the mock object for connect-sql must define in each describe; Good to know. |
I have to rebase, I forgot 😄 |
Great that you found the problem. 👍 |
7ee31aa
to
45539c0
Compare
Seems we did not get a purple button to Reviewable for this one. This is the link. Reviewable link: https://reviewable.io/reviews/powershell/xsqlserver/317 |
I will review the test after these comments are solved. Awesome work @luigilink! 😄 Reviewed 6 of 8 files at r1, 1 of 2 files at r2. README.md, line 535 at r2 (raw file):
parallelism server configuration option. README.md, line 536 at r2 (raw file):
The max degree of parallelism option is used to limit the number of processors to use in parallel plan execution. README.md, line 538 at r2 (raw file):
Please add this new section: Formula for dynamically allocating max degree of parallelism.
README.md, line 547 at r2 (raw file):
Change description to: When set to 'Present' then max degree of parallelism will be set to either the value in parameter MaxDop or dynamically configured when parameter DynamicAlloc is set to $true. When set to 'Absent' max degree of parallelism will be set to 0 which means no limit in number of processors used in parallel plan execution . README.md, line 548 at r2 (raw file):
Typo in parameter name, missing 'n': DynamicAlloc Change description to: README.md, line 549 at r2 (raw file):
A numeric value to limit the number of processors used in parallel plan execution. README.md, line 550 at r2 (raw file):
Could you move this parameter under the Key, so mandatory parameters are listed together in order of "importance" so to say :) xSQLServerHelper.psm1, line 1417 at r2 (raw file):
Upper letters: [System.MidpointRounding] DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 6 at r2 (raw file):
server configuration option. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 9 at r2 (raw file):
Please rephrase, database seems wrong :) Please do for Set- and Test method as well DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 12 at r2 (raw file):
Please rephrase, database seems wrong :) Please do for Set- and Test method as well DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 15 at r2 (raw file):
Please revise. See if you can use from the README.md. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 18 at r2 (raw file):
Please revise. See if you can use from the README.md. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 21 at r2 (raw file):
This has the wrong parameter name. Please revise description. See if you can use from the README.md. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r2 (raw file):
Please remove unused non-mandatory parameter. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 51 at r2 (raw file):
Please change this to $sqlServerObject DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 63 at r2 (raw file):
This error type does not seem to exist. Could you change this so the warning text is actually thrown instead? DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 158 at r2 (raw file):
Please change this to $sqlServerObject DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 162 at r2 (raw file):
server configuration option DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 172 at r2 (raw file):
Same here. Please throw the warning instead. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 201 at r2 (raw file):
This error has no localized string either. Could you add that? DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 256 at r2 (raw file):
server configuration option DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.schema.mof, line 7 at r2 (raw file):
I have starting to questioning if SQLServer should be Required/Key, but instead it maybe should be Write, with the default value of env:COMPUTERNAME. Leave it as-is for now Examples/Resources/xSQLServerMaxDop/2-SetMaxDopToAuto.ps1, line 2 at r2 (raw file):
Please add an example to set the Ensure to 'Absent' Comments from Reviewable |
f9f1746
to
e23dd4f
Compare
Review status: 4 of 8 files reviewed at latest revision, 24 unresolved discussions. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 63 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Could you help me on this ? Comments from Reviewable |
Review status: 4 of 8 files reviewed at latest revision, 24 unresolved discussions. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 201 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
How I did this ? I never used localized 😢 Comments from Reviewable |
Reviewed 1 of 2 files at r2, 8 of 8 files at r4, 1 of 1 files at r5. README.md, line 535 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 536 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 538 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 547 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 548 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 549 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. README.md, line 550 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. xSQLServerHelper.psm1, line 1417 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 6 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 9 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 12 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 15 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 18 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 21 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 51 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 63 at r2 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 158 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 162 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 172 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 201 at r2 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 256 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.schema.mof, line 7 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Ok 😄 Examples/Resources/xSQLServerMaxDop/2-SetMaxDopToAuto.ps1, line 2 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 2 files at r2, 7 of 8 files at r4, 1 of 1 files at r5. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r2 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
The parameter is still here. $Ensure is not used in the Get-method (?) so it does not need to be a parameter. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 63 at r2 (raw file):
Add this to the SQLServer.strings.psd1 file, like you did with 'MaxDopSetError'.
DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 123 at r2 (raw file):
Please revise this text. Maybe the phrases from the README.md could be used instead? DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 189 at r5 (raw file):
Change to something like: 'Desired state should be absent - MAXDOP is reset to the default value.' DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 197 at r5 (raw file):
Change to something like: "Setting MAXDOP value to $targetMaxDop." DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 220 at r5 (raw file):
Please revise this text. Maybe the phrases from the README.md could be used instead? DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.schema.mof, line 7 at r2 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
When I deliberated with my self in the issue I submitted (issue #319) I don't yet see a point adding Required or Key to SQLServer. If you disagree then please comment why on the issue #319. :) For this PR please
Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 41 at r5 (raw file):
There are some rows that are missed in the tests, could you add a test for them as well?
https://ci.appveyor.com/project/PowerShell/xsqlserver/build/4.0.774.0#L4971 Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 43 at r5 (raw file):
PSCustomObject Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 80 at r5 (raw file):
'Should return the wrong MaxDop value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 112 at r5 (raw file):
'Should return the correct MaxDop value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 186 at r5 (raw file):
Misspelled: parameter Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 193 at r5 (raw file):
'Should throw the correct error' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 194 at r5 (raw file):
Make sure Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 196 at r5 (raw file):
Add a blank line before this one Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 236 at r5 (raw file):
'...MaxDop is the wrong value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 257 at r5 (raw file):
'...MaxDop is the correct value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 277 at r5 (raw file):
'...MaxDop is the correct value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 301 at r5 (raw file):
'Should return the state as false then desired MaxDop is the wrong value' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 318 at r5 (raw file):
There are some rows that are missed in the tests, could you add a test for them as well?
https://ci.appveyor.com/project/PowerShell/xsqlserver/build/4.0.774.0#L4971 Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 343 at r5 (raw file):
Missspelled: parameter Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 351 at r5 (raw file):
Should throw the correct error. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 352 at r5 (raw file):
Please make sure to catch the correct error here, not just any error. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 360 at r5 (raw file):
Misspelled: parameter Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 383 at r5 (raw file):
Misspelled: parameter Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 384 at r5 (raw file):
Could you improve on this test to see that the value you are setting with Alter() is actually what you expect to set? Like you did in the `Set-SqlDatabaseRecoveryModel' test. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 399 at r5 (raw file):
Misspelled: parameter Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 400 at r5 (raw file):
Same as the comment above. Make sure the value you are setting with Alter() is what you expected to set. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 422 at r5 (raw file):
Please add test for the helper function Get-SqlDscDynamicMaxDop Comments from Reviewable |
791f2f1
to
e2f0581
Compare
d96dacf
to
584ad6d
Compare
Codecov Report
@@ Coverage Diff @@
## dev #317 +/- ##
===================================
+ Coverage 63% 65% +1%
===================================
Files 31 31
Lines 3092 3102 +10
===================================
+ Hits 1978 2036 +58
+ Misses 1114 1066 -48 Continue to review full report at Codecov.
|
Reviewed 3 of 3 files at r8, 2 of 2 files at r9. Comments from Reviewable |
@johlju Ready for review. Waiting for the author can be removed |
Great work hitting every line of code! 😄 Just a few changes left. Reviewed 1 of 7 files at r6, 3 of 3 files at r8, 2 of 2 files at r9. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r9 (raw file):
Why did you remove these from the hash table that is returned, and all the logic that assigned them? I thought that this was good information to have when running If you like you can add it back again, or submit an issue so that can be fixed later :) Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 384 at r5 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
You solved it right? We can resolve this comment? If so, write Done. :) Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 400 at r5 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
You solved it right? We can resolve this comment? If so, write Done. :) Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 101 at r9 (raw file):
$result.MaxDop | Should Be $mockMaxDegreeOfParallelism Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 120 at r9 (raw file):
Put these two mocks in a BeforeEach {} block, then you don't have to repeat the mock when you change the "dynamic variable". The BeforeEach-block will run before each of the Context-blocks. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 139 at r9 (raw file):
Change description to 'Should not call the mock function Get-CimInstance', or mock Get-SqlDscDynamicMaxDop in this Context-block instead. If you change the description, then please add a second mock for Get-CimInstance (where you mock the first one). This is so that the assertion work. Currently it would give a false positive if Get-CimInstance would be called with another set of parameter filters than the mock currently have. Mock -CommandName Get-CimInstance Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 161 at r9 (raw file):
if you choose to mock Get-SqlDscDynamicMaxDop above, then mock that here as well. If you changed description above, then no change is needed here. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 164 at r9 (raw file):
Could you add a test so that you also have to set dynamic variable Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 189 at r9 (raw file):
When you add a BeforeEach-block, this could be removed. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 191 at r9 (raw file):
'... and NumberOfCores = 2' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 197 at r9 (raw file):
This description does not seems correct. Please revise. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 215 at r9 (raw file):
When you add a BeforeEach-block, this could be removed. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 223 at r9 (raw file):
This description does not seems correct. Please revise. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 239 at r9 (raw file):
Could you change this test so that you also have to set dynamic variable Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 242 at r9 (raw file):
When you add a BeforeEach-block, this could be removed. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 244 at r9 (raw file):
Maybe? Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 250 at r9 (raw file):
This description does not seems correct. Please revise. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 284 at r9 (raw file):
When you add a BeforeEach-block, this could be removed. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 292 at r9 (raw file):
This description does not seems correct. Please revise. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 334 at r9 (raw file):
'Should throw the correct error' Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 375 at r9 (raw file):
Could you change these to a higher value so that you need to set a higher value for dynamic variable Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 432 at r9 (raw file):
'Shoud throw the correct error when Alter() method was called with invalid operation' Comments from Reviewable |
Review status: all files reviewed at latest revision, 23 unresolved discussions. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
You tell me to remove Ensure and DynamicAlloc from parameter 😢 Comments from Reviewable |
Review status: all files reviewed at latest revision, 23 unresolved discussions. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 384 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 400 at r5 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Thx. Codecov is awesome tool 👍 Review status: all files reviewed at latest revision, 23 unresolved discussions. Comments from Reviewable |
Reviewed 1 of 1 files at r10. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 101 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 120 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 139 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 161 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 189 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 197 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 215 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 223 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 239 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 242 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 244 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 250 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 284 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 292 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 334 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 432 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, 22 unresolved discussions. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 164 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 375 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
Reviewed 1 of 1 files at r11. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 191 at r9 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Comments from Reviewable |
@johlju "Waiting for the author" can be removed |
Review status: all files reviewed at latest revision, 1 unresolved discussion. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 42 at r9 (raw file): Previously, luigilink (Jean-Cyril Drouhin) wrote…
LGTM Sorry, I meant just to remove them from the parameter list of the Get-TargetResource, not the logic returning the Ensure. Sorry, it was me being unclear 😞 You don't have to add the logic back, we can fix that in another PR after this is merged. I will submit an issue for this. Issue #396 submitted. Sorry again, my friend. :/ I learn by my mistakes. :) Comments from Reviewable |
@luigilink I will merge this now. Great work! |
Changes to xSQLServerMaxDop
This Pull Request (PR) fixes the following issues:
Fixes #292
This change is