Skip to content

Commit

Permalink
Increase timeout for testing of faulty bjobs
Browse files Browse the repository at this point in the history
The existing timeout at 0.2 is too small on MacOS when
pytest is run concurrently with -n auto
  • Loading branch information
berland committed Apr 8, 2024
1 parent 5a2889b commit 33c6ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/scheduler/test_lsf_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ async def test_faulty_bjobs(monkeypatch, tmp_path, bjobs_script, expectation):
driver = LsfDriver()
with expectation:
await driver.submit(0, "sleep")
await asyncio.wait_for(poll(driver, {0}), timeout=0.2)
await asyncio.wait_for(poll(driver, {0}), timeout=5)


@pytest.mark.parametrize(
Expand Down

0 comments on commit 33c6ed2

Please sign in to comment.