]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Warm up database before running tests
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 15 Nov 2021 01:15:47 +0000 (02:15 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 15 Nov 2021 01:33:43 +0000 (02:33 +0100)
commit3cf7d2b01bbaad9c21dda358ff9e12dc535c570e
tree373fee54b4bd368249c4a595c0d8e06c313a47bf
parent89ab4bcd64df5f569c654e85e5d8b7c73ed9ca90
Warm up database before running tests

Sometimes, in the test CI, the first connection may take a long time,
and if the first test is about connection timeout, it might fail.

https://github.com/psycopg/psycopg/runs/4206004327?check_suite_focus=true
tests/fix_db.py