test: adjust sleep in test_positive_pool_metric

Otherwise it's not enough time for the pool metric to
reach a negative value.
This commit is contained in:
steve-chavez
2026-05-17 16:39:11 -05:00
parent c7260bddab
commit 8868d13214
+1 -1
View File
@@ -2192,7 +2192,7 @@ def test_positive_pool_metric(defaultenv):
env = {**defaultenv, "PGHOST": pgproxyhost}
with run(env=env, wait_for_readiness=False) as postgrest:
time.sleep(2)
time.sleep(3)
response = postgrest.admin.get("/metrics", timeout=1)
assert response.status_code == 200