Make retry test more reliable

This commit is contained in:
Daniel A. Wozniak 2023-08-27 21:38:03 -07:00 committed by Gareth J. Greenaway
parent cd8e683255
commit 46eb7f783f

View file

@ -31,7 +31,7 @@ def test_publish_retry(salt_master, salt_minion_retry, salt_cli, salt_run_cli):
rtn = salt_cli.run("test.sleep", "10", "--async", minion_tgt=salt_minion_retry.id)
# obtain JID
jid = rtn.stdout.strip().split(" ")[-1]
time.sleep(1)
# stop the salt master for some time
with salt_master.stopped():
# verify we don't yet have the result and sleep