Обсуждение: [COMMITTERS] pgsql: Allow PostgresNode.pm tests to wait for catchup

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Allow PostgresNode.pm tests to wait for catchup

От
Simon Riggs
Дата:
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(-)