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

add sleep in test_cmd integration test #48890

Merged
merged 1 commit into from Aug 2, 2018

Conversation

Projects
None yet
2 participants
@Ch3LL
Contributor

Ch3LL commented Aug 2, 2018

What does this PR do?

The integration.states.test_cmd. tests are failing sometimes on macosx after this PR: #47700

This is because the tests run so quick that sometimes the cache file has the same mtime as the run_redirect.sls file, even though we just edited the file in the test. Adding a quick sleep to make sure this does not occur.

To make note this might be causing other state tests to fail if each tests runs quick. If thats the case we could possibly look into a different solution for all state tests.

@rallytime rallytime merged commit f8bfab4 into saltstack:2017.7 Aug 2, 2018

3 of 8 checks passed

continuous-integration/jenkins/pr-merge This commit cannot be built
Details
jenkins/pr/py2-centos-7 The py2-centos-7 job has failed
Details
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has failed
Details
jenkins/pr/py3-ubuntu-1604 The py3-ubuntu-1604 job has failed
Details
jenkins/pr/py3-centos-7 running py3-centos-7...
Details
WIP ready for review
Details
jenkins/pr/docs The docs job has passed
Details
jenkins/pr/lint The lint job has passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment