Skip to content

Commit 0c14103

Browse files
authored
Merge pull request #508 from ExaWorks/wait_for_job_to_finish
Wait for job to complete in `test_list`
2 parents 94436c2 + cb8969e commit 0c14103

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ def test_list(execparams: ExecutorTestParams) -> None:
167167
assert job.native_id is not None
168168
ids = ex.list()
169169
assert job.native_id in ids
170+
status = job.wait(timeout=_get_timeout(execparams))
171+
assert_completed(job, status)
170172

171173

172174
def _get_batch_executors() -> List[str]:

0 commit comments

Comments
 (0)