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

Function check

tests/test_resources.py:527–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525 hq_env.command(["submit", "--cpus=2", "--priority=-1", "--", "sleep", "100"])
526
527 def check():
528 table = list_jobs(hq_env)
529 return table.get_column_value("State") == ["RUNNING", "RUNNING", "WAITING", "WAITING", "RUNNING"]
530
531 wait_until(check, timeout_s=5)
532

Callers

nothing calls this directly

Calls 3

list_jobsFunction · 0.85
get_column_valueMethod · 0.80
countMethod · 0.80

Tested by

no test coverage detected