aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/t/007_standby_source.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_rewind/t/007_standby_source.pl')
-rw-r--r--src/bin/pg_rewind/t/007_standby_source.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_rewind/t/007_standby_source.pl b/src/bin/pg_rewind/t/007_standby_source.pl
index 52644c2c0d7..35fe27888ed 100644
--- a/src/bin/pg_rewind/t/007_standby_source.pl
+++ b/src/bin/pg_rewind/t/007_standby_source.pl
@@ -160,7 +160,7 @@ in A, after C was promoted
$node_a->safe_psql('postgres',
"INSERT INTO tbl1 values ('in A, after rewind')");
-$node_b->wait_for_catchup('node_c', 'replay', $node_a->lsn('write'));
+$node_b->wait_for_replay_catchup('node_c', $node_a);
check_query(
'SELECT * FROM tbl1',