diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-02-13 11:52:19 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-02-13 11:52:19 +0100 |
commit | a1acdacada4aaeb233d819f519d16a9eb85a6eef (patch) | |
tree | 34d25d2d80d2c33b0adea841ff0c06c655f35d9e /src/bin/pg_rewind/t | |
parent | ec5a010ab25bf40012fde78b34724971e38e08a4 (diff) | |
download | postgresql-a1acdacada4aaeb233d819f519d16a9eb85a6eef.tar.gz |
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/pg_rewind/t')
-rw-r--r-- | src/bin/pg_rewind/t/007_standby_source.pl | 2 |
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', |