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

fix(test_postgresql): copy dict instead of create pointers

parent d8b320ff
No related branches found
No related tags found
No related merge requests found
...@@ -346,9 +346,9 @@ def check_ha(db_conn: dict, errors: int = 0) -> int: ...@@ -346,9 +346,9 @@ def check_ha(db_conn: dict, errors: int = 0) -> int:
# check replication # check replication
print("Checking replication state:") print("Checking replication state:")
primary = db_conn primary = db_conn.copy()
primary["port"] = 54321 primary["port"] = 54321
standby = db_conn standby = db_conn.copy()
standby["port"] = 54322 standby["port"] = 54322
status, info = check_replication(primary, standby) status, info = check_replication(primary, standby)
if not status: if not status:
......
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