]> granicus.if.org Git - postgresql/commit
Allow PostgresNode.pm tests to wait for catchup
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 4 Jan 2017 16:50:23 +0000 (16:50 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 4 Jan 2017 16:50:23 +0000 (16:50 +0000)
commitfb093e4cb36fe40a1c3f87618fb8362845dae0f0
tree401c50ba1f9245edf7a0663f3e161a0eab200b6e
parent579f700911794d33d95628266f8ed700f113ee16
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
src/test/perl/PostgresNode.pm
src/test/recovery/t/001_stream_rep.pl
src/test/recovery/t/004_timeline_switch.pl