-
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
xSQLServer: Using correct assemblies for module SqlServer #800
Conversation
Now it correctly loads the correct assemblies when SqlServer module is present (issue dsccommunity#649). Now SQLPS module will be correctly loaded (discovered) after installation of SQL Server (issue dsccommunity#659). Previously resources depending on SQLPS module could fail because SQLPS was not found after installation because the PSModulePath environment variable in the (LCM) PowerShell session did not contain the new module path.
- Changes to xSQLServer - Updated appveyor.yml so that integration tests can run in AppVeyor (issue dsccommunity#774). - Changes to xSQLServerSetup - Fixed so that the integration test copies back the SQLPS module (issue dsccommunity#774).
- Fixed so integration test does not write warnings when SQLPS module is loaded (issue dsccommunity#798).
Codecov Report
@@ Coverage Diff @@
## dev #800 +/- ##
===================================
- Coverage 97% 96% -1%
===================================
Files 30 30
Lines 3255 3256 +1
===================================
- Hits 3170 3139 -31
- Misses 85 117 +32 |
Reviewed 2 of 3 files at r1, 4 of 4 files at r3. Comments from Reviewable |
Reviewed 2 of 3 files at r1, 4 of 4 files at r3. Comments from Reviewable |
@randomnote1 Big thanks for reviewing this for me! |
Pull Request (PR) description
the SQLPS module folders are renamed to not disturb the units test, but
can be renamed back by the integration tests xSQLServerSetup so that the
integration tests can run successfully.
(issue xSQLServer: Problem running integration tests with fixes in issue #649 #774).
present (issue xSQLServerAlwaysOnAvailabilityGroup: SqlServer Module v21.0.17099 breaks the resource #649).
of SQL Server. Previously resources depending on SQLPS module could fail
because SQLPS was not found after installation because the PSModulePath
environment variable in the (LCM) PowerShell session did not contain the new
module path.
they was renamed by AppVeyor (in the appveyor.yml file).
(issue xSQLServer: Problem running integration tests with fixes in issue #649 #774).
(issue xSQLServerSetup: Getting warnings when running integration test #798).
This Pull Request (PR) fixes the following issues:
Fixes #649
Fixes #774
Fixes #798
Task list:
This change is