MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / wait_for_job_list_count

Function wait_for_job_list_count

tests/utils/wait.py:113–114  ·  view source on GitHub ↗
(env, count: int)

Source from the content-addressed store, hash-verified

111
112
113def wait_for_job_list_count(env, count: int):
114 wait_until(lambda: len(env.command(["job", "list", "--all"], as_table=True)) == count)

Callers 5

test_job_forgetFunction · 0.85
test_forget_finished_jobFunction · 0.85
test_forget_failed_jobFunction · 0.85
test_forget_canceled_jobFunction · 0.85

Calls 2

commandMethod · 0.80
wait_untilFunction · 0.70

Tested by 5

test_job_forgetFunction · 0.68
test_forget_finished_jobFunction · 0.68
test_forget_failed_jobFunction · 0.68
test_forget_canceled_jobFunction · 0.68