pgsql: Add a test framework for recovery

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a test framework for recovery
Date: 2016-02-26 19:15:24
Message-ID: E1aZNrI-0006kr-Qu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Add a test framework for recovery

This long-awaited framework is an expansion of the existing PostgresNode
stuff to support additional features for recovery testing; the recovery
tests included in this commit are a starting point that cover some of
the recovery features we have. More scripts are expected to be added
later.

Author: Michaël Paquier, a bit of help from Amir Rohan
Reviewed by: Amir Rohan, Stas Kelvich, Kyotaro Horiguchi, Victor Wagner,
Craig Ringer, Álvaro Herrera
Discussion: http://www.postgresql.org/message-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail.com
Discussion: http://www.postgresql.org/message-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3capp-mailcom-lxa08

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/49148645f7f30f461b09618b5342b37425f33b22

Modified Files
--------------
doc/src/sgml/install-windows.sgml | 4 +-
src/test/Makefile | 2 +-
src/test/perl/PostgresNode.pm | 74 +++++++++++++++-
src/test/recovery/.gitignore | 3 +
src/test/recovery/Makefile | 17 ++++
src/test/recovery/README | 21 +++++
src/test/recovery/t/001_stream_rep.pl | 70 ++++++++++++++++
src/test/recovery/t/002_archiving.pl | 52 ++++++++++++
src/test/recovery/t/003_recovery_targets.pl | 126 ++++++++++++++++++++++++++++
src/test/recovery/t/004_timeline_switch.pl | 75 +++++++++++++++++
src/test/recovery/t/005_replay_delay.pl | 49 +++++++++++
src/tools/msvc/vcregress.pl | 13 ++-
12 files changed, 501 insertions(+), 5 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-02-26 19:18:16 Re: pgsql: Add a test framework for recovery
Previous Message Alvaro Herrera 2016-02-26 16:28:48 pgsql: Move some code from RewindTest into PostgresNode

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-02-26 19:18:16 Re: pgsql: Add a test framework for recovery
Previous Message Andres Freund 2016-02-26 19:11:58 Re: Performance degradation in commit 6150a1b0