Skip to content

Commit

Permalink
Make retry test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz authored and garethgreenaway committed Sep 6, 2023
1 parent cd8e683 commit 46eb7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pytests/integration/minion/test_return_retries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46eb7f7

Please sign in to comment.