Skip to content

Commit 8868d13

Browse files
committed
test: adjust sleep in test_positive_pool_metric
Otherwise it's not enough time for the pool metric to reach a negative value.
1 parent c7260bd commit 8868d13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/io/test_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ def test_positive_pool_metric(defaultenv):
21922192
env = {**defaultenv, "PGHOST": pgproxyhost}
21932193

21942194
with run(env=env, wait_for_readiness=False) as postgrest:
2195-
time.sleep(2)
2195+
time.sleep(3)
21962196

21972197
response = postgrest.admin.get("/metrics", timeout=1)
21982198
assert response.status_code == 200

0 commit comments

Comments
 (0)