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-20 10:29:12 -05:00
committed by Steve Chavez
parent 0be41a4941
commit f6e99117ab
+1 -1
View File
@@ -1822,7 +1822,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