Allow PostgresNode.pm tests to wait for catchup
Simon Riggs <simon@2ndQuadrant.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/perl/PostgresNode.pm | modified | +170 −2 |
| src/test/recovery/t/001_stream_rep.pl | modified | +2 −10 |
| src/test/recovery/t/004_timeline_switch.pl | modified | +3 −13 |