Skip to content

Commit dec1e49

Browse files
committed
Increase timeout
1 parent 6e9f8f6 commit dec1e49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_timeout.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ async def long_running_task() -> str:
4747
await asyncio.sleep(0.01)
4848
return "done"
4949

50-
async with timeout(0.1):
50+
# timeout should be long enough to work even on slow bisy test boxes
51+
async with timeout(0.5):
5152
resp = await long_running_task()
5253
assert resp == "done"
5354

0 commit comments

Comments
 (0)