mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 08:52:56 +00:00
Update test_replica_promote.py
This commit is contained in:
committed by
Mikhail Kot
parent
05677e1b78
commit
bf00aed76c
@@ -53,7 +53,7 @@ def test_replica_promotes(neon_simple_env: NeonEnv, pg_version: PgVersion):
|
||||
secondary_conn = secondary.connect()
|
||||
secondary_cur = secondary_conn.cursor()
|
||||
|
||||
if env.pg_version() is PgVersion.V14:
|
||||
if env.pg_version is PgVersion.V14:
|
||||
signalfile = secondary.pgdata_dir / "standby.signal"
|
||||
assert signalfile.exists()
|
||||
signalfile.unlink()
|
||||
|
||||
Reference in New Issue
Block a user