mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Allow some time for processes to get started after processmanager.run() command
This commit is contained in:
parent
b2c2c5a9cd
commit
20854d6366
1 changed files with 2 additions and 0 deletions
|
@ -595,6 +595,8 @@ def test_git_provider_sigterm_cleanup(main_class):
|
||||||
|
|
||||||
procmgr.run(asynchronous=True)
|
procmgr.run(asynchronous=True)
|
||||||
|
|
||||||
|
time.sleep(2) # give some time for it to terminate
|
||||||
|
|
||||||
# child process should be alive
|
# child process should be alive
|
||||||
file_name = provider._get_lock_file("update")
|
file_name = provider._get_lock_file("update")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue