pgsql: Add wait_for_replay_catchup wrapper to Cluster.pm

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add wait_for_replay_catchup wrapper to Cluster.pm
Date: 2023-02-13 10:53:01
Message-ID: E1pRWSC-000v1u-KF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a1acdacada4aaeb233d819f519d16a9eb85a6eef

Modified Files
--------------
src/bin/pg_rewind/t/007_standby_source.pl | 2 +-
src/test/modules/brin/t/02_wal_consistency.pl | 2 +-
src/test/perl/PostgreSQL/Test/Cluster.pm | 23 ++++++++++++++++++
src/test/recovery/t/001_stream_rep.pl | 16 +++++--------
src/test/recovery/t/027_stream_regress.pl | 3 +--
src/test/recovery/t/030_stats_cleanup_replica.pl | 20 ++++++----------
src/test/recovery/t/031_recovery_conflict.pl | 30 ++++++++----------------
src/test/recovery/t/033_replay_tsp_drops.pl | 6 ++---
8 files changed, 51 insertions(+), 51 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2023-02-13 13:10:43 pgsql: Fix object identity string for transforms
Previous Message David Rowley 2023-02-13 10:39:09 pgsql: Fix pfree issue in presorted DISTINCT aggregate code