Skip to content

Commit

Permalink
Fix flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Aug 2, 2024
1 parent 6f494ef commit 64c4d18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/async_integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ async def run_job():
assert job["status"] == "Queued"
assert len(job["inputs"]) == 1
job = await c.algorithm_jobs.detail(job["pk"])
assert job["status"] == "Queued"
assert job["status"] in {"Queued", "Started"}


@pytest.mark.parametrize(
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def run_job():
assert job["status"] == "Queued"
assert len(job["inputs"]) == 1
job = c.algorithm_jobs.detail(job["pk"])
assert job["status"] == "Queued"
assert job["status"] in {"Queued", "Started"}


def test_get_algorithm_by_slug(local_grand_challenge):
Expand Down

0 comments on commit 64c4d18

Please sign in to comment.