From: Daniele Varrazzo Date: Wed, 29 Oct 2025 23:03:22 +0000 (+0000) Subject: test(pool): consider test flakey X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f65869e7e10cae845d0904b5a68c8edbb47075fc;p=thirdparty%2Fpsycopg.git test(pool): consider test flakey It fails regularly in CI on Windows --- diff --git a/tests/pool/test_pool.py b/tests/pool/test_pool.py index 95a96db46..150344f23 100644 --- a/tests/pool/test_pool.py +++ b/tests/pool/test_pool.py @@ -1130,6 +1130,7 @@ def test_close_returns_custom_class_old(dsn): @pytest.mark.slow +@pytest.mark.timing @pytest.mark.skipif(PSYCOPG_VERSION < (3, 3), reason="psycopg >= 3.3 behaviour") def test_close_returns_no_loop(dsn): with pool.ConnectionPool( diff --git a/tests/pool/test_pool_async.py b/tests/pool/test_pool_async.py index 970b2311a..029201b2d 100644 --- a/tests/pool/test_pool_async.py +++ b/tests/pool/test_pool_async.py @@ -1130,6 +1130,7 @@ async def test_close_returns_custom_class_old(dsn): @pytest.mark.slow +@pytest.mark.timing @pytest.mark.skipif(PSYCOPG_VERSION < (3, 3), reason="psycopg >= 3.3 behaviour") async def test_close_returns_no_loop(dsn): async with pool.AsyncConnectionPool(