File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ async def test_cancelled_connection(pool_creator, loop):
492492 # If we receive [(1, 0)] - we retrieved old cursor's values
493493 assert list (res ) == [(2 , 0 )]
494494
495+
495496@pytest .mark .run_loop
496497async def test_pool_with_connection_recycling (pool_creator , loop ):
497498 pool = await pool_creator (minsize = 1 , maxsize = 1 , pool_recycle = 3 )
@@ -510,8 +511,9 @@ async def test_pool_with_connection_recycling(pool_creator, loop):
510511 val = await cur .fetchone ()
511512 assert (1 ,) == val
512513
514+
513515@pytest .mark .run_loop
514- async def test_pool_does_not_reuse_connection_with_exception (pool_creator , loop ):
516+ async def test_pool_drops_connection_with_exception (pool_creator , loop ):
515517 pool = await pool_creator (minsize = 1 , maxsize = 1 )
516518
517519 async with pool .get () as conn :
You can’t perform that action at this time.
0 commit comments