pgsql: Allow PostgresNode.pm tests to wait for catchup

Lists: pgsql-committers
From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow PostgresNode.pm tests to wait for catchup
Date: 2017-01-04 16:55:08
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

Allow PostgresNode.pm tests to wait for catchup

Add methods to the core test framework PostgresNode.pm to allow us to
test that standby nodes have caught up with the master, as well as
basic LSN handling. Used in tests recovery/t/001_stream_rep.pl and
recovery/t/004_timeline_switch.pl

Craig Ringer, reviewed by Aleksander Alekseev and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fb093e4cb36fe40a1c3f87618fb8362845dae0f0

Modified Files
--------------
src/test/perl/PostgresNode.pm | 172 ++++++++++++++++++++++++++++-
src/test/recovery/t/001_stream_rep.pl | 12 +-
src/test/recovery/t/004_timeline_switch.pl | 16 +--
3 files changed, 175 insertions(+), 25 deletions(-)