From f539226ef442f65e6ee9b0c97fbf23dba015d335 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 3 May 2024 02:39:58 +0200 Subject: [PATCH] debug! 1/2s --- tests/test_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_connector.py b/tests/test_connector.py index 934af481cad..2ef92ae0357 100644 --- a/tests/test_connector.py +++ b/tests/test_connector.py @@ -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