From 89e93a484acf3248a1ba3aaba98dc83f1f6a7e73 Mon Sep 17 00:00:00 2001 From: Erik Khamitov <e.khamitov@picodata.io> Date: Thu, 23 Jan 2025 14:44:36 +0300 Subject: [PATCH] fix: flaky test_user_blocking_after_a_series_of_unsuccessful_auth_attempts --- test/pgproto/auth_test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/pgproto/auth_test.py b/test/pgproto/auth_test.py index 9e18a5c5c6..b5d08793fd 100644 --- a/test/pgproto/auth_test.py +++ b/test/pgproto/auth_test.py @@ -70,11 +70,13 @@ def test_admin_auth(cluster: Cluster): conn.close() -def test_user_blocking_after_a_series_of_unsuccessful_auth_attempts(cluster: Cluster): +def test_user_blocking_after_a_series_of_unsuccessful_auth_attempts( + cluster: Cluster, port_distributor: PortDistributor +): user = "user" password = "P@ssw0rd" host = "127.0.0.1" - port = "5433" + port = port_distributor.get() cluster.set_config_file( yaml=f""" -- GitLab