pgsql: Allow PostgresNode.pm tests to wait for catchup

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: E1cOoqC-0002W5-5r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-01-04 17:03:59 pgsql: Update obsolete comments in lwlock.h.
Previous Message Magnus Hagander 2017-01-04 15:08:20 Re: pgsql: Update copyright for 2017