Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d4fba1

Browse files
committed
Fix flaky test
1 parent 3db0adf commit 9d4fba1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_job.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ def task_is_waiting():
464464

465465
wait_for_job_state(hq_env, other + 1, "FINISHED")
466466

467+
time.sleep(1)
468+
467469
table = list_jobs(hq_env)
468470
assert table.get_column_value("State")[other] == "FINISHED"
469471
assert table.get_column_value("State")[idx] == "RUNNING"

0 commit comments

Comments
 (0)