Skip to content

Commit 387197f

Browse files
committed
Mitigate test flakiness.
1 parent bd17966 commit 387197f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/asyncio/test_server.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ async def test_close_server_keeps_handlers_running(self):
542542
async with asyncio_timeout(2 * MS):
543543
await server.wait_closed()
544544

545-
async with asyncio_timeout(3 * MS):
545+
# Set a large timeout here, else the test becomes flaky.
546+
async with asyncio_timeout(5 * MS):
546547
await server.wait_closed()
547548

548549

0 commit comments

Comments
 (0)