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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user