Skip to content
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

Improve Integration Test Reliability #686

Closed
PlagueHO opened this issue May 5, 2020 · 0 comments · Fixed by #693
Closed

Improve Integration Test Reliability #686

PlagueHO opened this issue May 5, 2020 · 0 comments · Fixed by #693
Assignees
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.

Comments

@PlagueHO
Copy link
Member

PlagueHO commented May 5, 2020

Closing and reopening to kick of the tests again since it failed on. I have seen this when the previous run is to fast to the LCM haven't time to cooldown.

CimException: Cannot invoke the Get-DscConfiguration cmdlet. The Consistency Check or Pull
cmdlet is in progress and must return before Get-DscConfiguration can be invoked. Use -Force 
option if that is available to cancel the current operation.

https://dev.azure.com/dsccommunity/ComputerManagementDsc/_build/results?buildId=1818&view=logs&j=bed57fa5-efa2-5e6c-3967-59915169b168&t=5a0501c2-c194-508e-8f56-358cb6bbc353&l=383

In xWebAdministration and SqlServerDsc I have added the following helper function between tests where this happens (not everywhere though). Might be better to add it to Initialize-TestEnvironment.

https://github.com/dsccommunity/SqlServerDsc/blob/fab9419549a490efab38e070e8eda40d2a10d531/tests/TestHelpers/CommonTestHelper.psm1#L398-L409

@PlagueHO PlagueHO added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels May 5, 2020
@PlagueHO PlagueHO self-assigned this Jul 5, 2020
@PlagueHO PlagueHO added in progress The issue is being actively worked on by someone. and removed help wanted The issue is up for grabs for anyone in the community. labels Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant