From: Daniele Varrazzo Date: Wed, 29 Oct 2025 23:07:19 +0000 (+0000) Subject: test(pool): consider another test flakey X-Git-Tag: 3.3.0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75b2cd844b2ca461f6fd0899974bd411763e99a8;p=thirdparty%2Fpsycopg.git test(pool): consider another test flakey --- diff --git a/tests/pool/test_pool.py b/tests/pool/test_pool.py index 150344f23..ebbd4bfe1 100644 --- a/tests/pool/test_pool.py +++ b/tests/pool/test_pool.py @@ -1152,6 +1152,7 @@ def test_close_returns_no_loop(dsn): @pytest.mark.slow +@pytest.mark.timing def test_override_close_no_loop_subclass(dsn): with pool.ConnectionPool( dsn, min_size=1, max_lifetime=0.05, connection_class=ReturningConnection diff --git a/tests/pool/test_pool_async.py b/tests/pool/test_pool_async.py index 029201b2d..dfda392b6 100644 --- a/tests/pool/test_pool_async.py +++ b/tests/pool/test_pool_async.py @@ -1152,6 +1152,7 @@ async def test_close_returns_no_loop(dsn): @pytest.mark.slow +@pytest.mark.timing async def test_override_close_no_loop_subclass(dsn): async with pool.AsyncConnectionPool( dsn, min_size=1, max_lifetime=0.05, connection_class=ReturningConnection