From 1b717cc31d51ec4ba284be313d7766f0aaa5c9fa Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Sat, 1 Sep 2018 11:36:28 +0200 Subject: [PATCH] change(test_postgresql): increase sleep delay in replication check --- tests/test_postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_postgresql.py b/tests/test_postgresql.py index 5068ac22..c1938f3c 100755 --- a/tests/test_postgresql.py +++ b/tests/test_postgresql.py @@ -254,7 +254,7 @@ def check_replication(primary: dict, standby: dict) -> bool: try: primary_psql = primary_client.cursor() primary_psql.execute("CREATE TABLE es_test (id serial PRIMARY KEY);") - time.sleep(0.3) + time.sleep(3) standby_psql = primary_client.cursor() standby_psql.execute("SELECT * FROM es_test;") primary_psql.execute("DROP TABLE es_test;") -- GitLab