diff --git a/test_runner/regress/test_replica_promotes.py b/test_runner/regress/test_replica_promotes.py index 7dfa8da6ab..3780596717 100644 --- a/test_runner/regress/test_replica_promotes.py +++ b/test_runner/regress/test_replica_promotes.py @@ -56,7 +56,6 @@ def test_replica_promotes(neon_simple_env: NeonEnv, pg_version: PgVersion): assert secondary_cur.fetchone() == (100,) primary.stop_and_destroy(mode="immediate") - primary = None # Reconnect to the secondary to make sure we get a read-write connection with secondary.connect() as promo_conn: