From 2612e4ee133b71de319fa50ca925a591c782ab26 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Sat, 19 Sep 2026 09:34:36 -0700 Subject: [PATCH] Use common timeout in test_pool_remote_close to avoid flakes A missed hardcoded timeout causes CI flakes. Use shared timeout constant instead. --- tests/test_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pool.py b/tests/test_pool.py index 695363b7..d76e655e 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -1001,7 +1001,7 @@ async def worker(): await task # Check that connection_lost has released the pool holder. - conn = await pool.acquire(timeout=0.1) + conn = await pool.acquire(timeout=POOL_NOMINAL_TIMEOUT) await pool.release(conn)