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 1 commit into from Aug 2, 2018


None yet
2 participants

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
jenkins/pr/py2-centos-7 The py2-centos-7 job has failed
jenkins/pr/py2-ubuntu-1604 The py2-ubuntu-1604 job has failed
jenkins/pr/py3-ubuntu-1604 The py3-ubuntu-1604 job has failed
jenkins/pr/py3-centos-7 running py3-centos-7...
WIP ready for review
jenkins/pr/docs The docs job has passed
jenkins/pr/lint The lint job has passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment