(PUP-10527) Test puppet service runs puppet#8185
Merged
gimmyxd merged 2 commits intopuppetlabs:masterfrom Jun 18, 2020
Merged
Conversation
Contributor
Author
|
This test has been locally validated on el-7 and windows-2012 to:
|
Contributor
Author
|
I am not sure what is going on with the windows spec test failure in appveyor. 🤷 |
ad2f344 to
c6f2d1c
Compare
|
CLA signed by all contributors. |
This commit adds an acceptance test to ensure that starting the puppet service on agents runs puppet. This validation was missing from the `puppet_service_management.rb` test. Due to the comprehensive nature of the existing test, this test is added independently to reduce execution time. The existing test takes about 4m to execute while this specific case takes about 30s.
c6f2d1c to
f45bd98
Compare
Contributor
|
For me this fails if the agent didn't run before on the target machine, since the Maybe an easier way would be to remove the file when starting the test, and after the puppet run to check if it's present. Then we wouldn't need to compare times and whatnot. Failing output: |
d3fe7de to
6c69614
Compare
6c69614 to
4f55be1
Compare
Contributor
|
jenkins please test this on redhat7-64,ubuntu1804-64,windows2016-64 |
|
CLA signed by all contributors. |
gimmyxd
approved these changes
Jun 18, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds an acceptance test to ensure that starting the puppet
service on agents runs puppet. This validation was missing from the
puppet_service_management.rbtest. Due to the comprehensive nature ofthe existing test, this test is added independently to reduce execution
time. The existing test takes about 4m to execute while this specific
case takes about 30s.