summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorAlvaro Herrera2023-02-13 10:52:19 +0000
committerAlvaro Herrera2023-02-13 10:52:19 +0000
commita1acdacada4aaeb233d819f519d16a9eb85a6eef (patch)
tree34d25d2d80d2c33b0adea841ff0c06c655f35d9e /src/bin
parentec5a010ab25bf40012fde78b34724971e38e08a4 (diff)
Add wait_for_replay_catchup wrapper to Cluster.pm
This simplifies a few lines of Perl test code a bit. Author: Bertrand Drouvot Discussion: https://postgr.es/m/846724b5-0723-f4c2-8b13-75301ec7509e@gmail.com
Diffstat (limited to 'src/bin')
-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 52644c2c0d..35fe27888e 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',