pgsql: Add a test framework for recovery
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: /messages/by-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail.com
Discussion: /messages/by-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
On 2016-02-26 19:15:24 +0000, Alvaro Herrera wrote:
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.
Yay!
Andres
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
On 26 February 2016 at 19:15, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
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: /messages/by-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail.com
Discussion: /messages/by-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3capp-mailcom-lxa08Branch
------
masterDetails
-------
http://git.postgresql.org/pg/commitdiff/49148645f7f30f461b09618b5342b37425f33b22Modified Files
--------------
doc/src/sgml/install-windows.sgml | 4 +-
src/test/Makefile | 2 +-
src/test/perl/PostgresNode.pm | 74 +++++++++++++++-
One typo in this one:
s/passiong/passing/
Thom
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
On 26 February 2016 at 19:26, Thom Brown <thom@linux.com> wrote:
On 26 February 2016 at 19:15, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
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: /messages/by-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail.com
Discussion: /messages/by-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3capp-mailcom-lxa08Branch
------
masterDetails
-------
http://git.postgresql.org/pg/commitdiff/49148645f7f30f461b09618b5342b37425f33b22Modified Files
--------------
doc/src/sgml/install-windows.sgml | 4 +-
src/test/Makefile | 2 +-
src/test/perl/PostgresNode.pm | 74 +++++++++++++++-One typo in this one:
s/passiong/passing/
Oh, I see you caught it.
Thom
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Thom Brown wrote:
One typo in this one:
s/passiong/passing/
Oh, I see you caught it.
Actually Craig did, but yeah :-)
--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Alvaro Herrera wrote:
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.
It seems the buildfarm doesn't run these tests. It'd be good to fix
that, but not sure what's the best way to go about it. I surely prefer
that it didn't involve changing the buildfarm client script ...
--
�lvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
On Sat, Feb 27, 2016 at 4:59 AM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
Alvaro Herrera wrote:
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.It seems the buildfarm doesn't run these tests. It'd be good to fix
that, but not sure what's the best way to go about it. I surely prefer
that it didn't involve changing the buildfarm client script ...
The buildfarm script does a per-path test with isolation/ and
regression/, modifying it would be needed anyway for MSVC.
--
Michael
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers