We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eba985 commit 6220ab3Copy full SHA for 6220ab3
1 file changed
test/io/test_io.py
@@ -2169,12 +2169,10 @@ def test_vary_default_header_set(defaultenv):
2169
def test_positive_pool_metric(defaultenv):
2170
"When a network failure is caused on the pg connection, pgrst_db_pool_available stays positive"
2171
2172
- with run_pgproxy(defaultenv, proxy_timeout="10ms") as pgproxyhost:
+ with run_pgproxy(defaultenv, proxy_timeout="1ms") as pgproxyhost:
2173
env = {**defaultenv, "PGHOST": pgproxyhost}
2174
2175
- with run(env=env, wait_for=None) as postgrest:
2176
- time.sleep(3)
2177
-
+ with run(env=env, wait_for=Admin.live) as postgrest:
2178
response = postgrest.admin.get("/metrics", timeout=1)
2179
assert response.status_code == 200
2180
0 commit comments