]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test(pool): consider another test flakey
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Oct 2025 23:07:19 +0000 (23:07 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 29 Oct 2025 23:07:19 +0000 (23:07 +0000)
tests/pool/test_pool.py
tests/pool/test_pool_async.py

index 150344f23c8ca3cb11f9b77790a4284b2a8a7f72..ebbd4bfe13756ec4711a91a537b93648b55bbcb2 100644 (file)
@@ -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
index 029201b2d8679539f837d34751a75daabb035e04..dfda392b663e52aed41898c5495fbeaa254ade64 100644 (file)
@@ -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