Add a test framework for recovery
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/install-windows.sgml | modified | +3 −1 |
| src/test/Makefile | modified | +1 −1 |
| src/test/perl/PostgresNode.pm | modified | +72 −2 |
| src/test/recovery/.gitignore | added | +3 −0 |
| src/test/recovery/Makefile | added | +17 −0 |
| src/test/recovery/README | added | +21 −0 |
| src/test/recovery/t/001_stream_rep.pl | added | +70 −0 |
| src/test/recovery/t/002_archiving.pl | added | +52 −0 |
| src/test/recovery/t/003_recovery_targets.pl | added | +126 −0 |
| src/test/recovery/t/004_timeline_switch.pl | added | +75 −0 |
| src/test/recovery/t/005_replay_delay.pl | added | +49 −0 |
| src/tools/msvc/vcregress.pl | modified | +12 −1 |
Documentation touched
Discussion
- Re: In-core regression tests for replication, cascading, archiving, PITR, etc. 128 messages · 2015-10-02 → 2016-03-01
- In-core regression tests for replication, cascading, archiving, PITR, etc. 29 messages · 2013-12-02 → 2015-10-07