Skip to content

Commit

Permalink
debug! 1/2s
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed May 3, 2024
1 parent 429259b commit f539226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ async def test_cleanup(key: Any) -> None:
existing_handle = conn._cleanup_handle = mock.Mock()

conn._cleanup()
await asyncio.sleep(0.3) # Mitigate race condition on slow systems
await asyncio.sleep(0.5) # Mitigate race condition on slow systems
assert existing_handle.cancel.called
assert conn._conns == {}
assert conn._cleanup_handle is None
Expand Down

0 comments on commit f539226

Please sign in to comment.