Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tst/unit/task/episode/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ async def _ended(episode):


async def _until(holds):
async with asyncio.timeout(5):
# The budget covers a cold start: the first episode in a process imports every sandbox provider's SDK (seconds)
# before its first turn opens. The loop returns as soon as ``holds`` does, so a passing test never waits it out.
async with asyncio.timeout(30):
while not holds():
await asyncio.sleep(0.01)

Expand Down
Loading