]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test(pool): consider test flakey
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Oct 2025 23:03:22 +0000 (23:03 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Oct 2025 23:03:22 +0000 (23:03 +0000)
It fails regularly in CI on Windows

tests/pool/test_pool.py
tests/pool/test_pool_async.py

index 95a96db46b68018229b814fff0a7904fb7e46066..150344f23c8ca3cb11f9b77790a4284b2a8a7f72 100644 (file)
@@ -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(
index 970b2311ac464bbf207cb453064d0354eb09a8c0..029201b2d8679539f837d34751a75daabb035e04 100644 (file)
@@ -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(