diff options
Diffstat (limited to 'src/test/recovery/t/033_replay_tsp_drops.pl')
-rw-r--r-- | src/test/recovery/t/033_replay_tsp_drops.pl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/recovery/t/033_replay_tsp_drops.pl b/src/test/recovery/t/033_replay_tsp_drops.pl index 896b282bd4b..42a6e693328 100644 --- a/src/test/recovery/t/033_replay_tsp_drops.pl +++ b/src/test/recovery/t/033_replay_tsp_drops.pl @@ -42,8 +42,7 @@ sub test_tablespace $node_standby->start; # Make sure the connection is made - $node_primary->wait_for_catchup($node_standby, 'write', - $node_primary->lsn('write')); + $node_primary->wait_for_catchup($node_standby, 'write'); # Do immediate shutdown just after a sequence of CREATE DATABASE / DROP # DATABASE / DROP TABLESPACE. This causes CREATE DATABASE WAL records @@ -65,8 +64,7 @@ sub test_tablespace $query =~ s/<STRATEGY>/$strategy/g; $node_primary->safe_psql('postgres', $query); - $node_primary->wait_for_catchup($node_standby, 'write', - $node_primary->lsn('write')); + $node_primary->wait_for_catchup($node_standby, 'write'); # show "create missing directory" log message $node_standby->safe_psql('postgres', |