Skip to content
Snippets Groups Projects
Commit 1b717cc3 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

change(test_postgresql): increase sleep delay in replication check

parent 3f0f31a3
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ def check_replication(primary: dict, standby: dict) -> bool: ...@@ -254,7 +254,7 @@ def check_replication(primary: dict, standby: dict) -> bool:
try: try:
primary_psql = primary_client.cursor() primary_psql = primary_client.cursor()
primary_psql.execute("CREATE TABLE es_test (id serial PRIMARY KEY);") 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 = primary_client.cursor()
standby_psql.execute("SELECT * FROM es_test;") standby_psql.execute("SELECT * FROM es_test;")
primary_psql.execute("DROP TABLE es_test;") primary_psql.execute("DROP TABLE es_test;")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment