Skip to content

Commit 343e98e

Browse files
committed
Increase pool.acquire timeout in tests to avoid failures on Travis
1 parent 5ceb893 commit 343e98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def test_pool_02(self):
4141
min_size=5, max_size=5) as pool:
4242

4343
async def worker():
44-
con = await pool.acquire(timeout=1)
44+
con = await pool.acquire(timeout=5)
4545
self.assertEqual(await con.fetchval('SELECT 1'), 1)
4646
await pool.release(con)
4747

0 commit comments

Comments
 (0)