pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add a test framework for recovery
7+ messages / 5 participants
[nested] [flat]

* pgsql: Add a test framework for recovery
@ 2016-02-26 19:15 Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-02-26 19:18 ` Re: pgsql: Add a test framework for recovery Andres Freund <andres@anarazel.de>
  2016-02-26 19:26 ` Re: pgsql: Add a test framework for recovery Thom Brown <thom@linux.com>
  2016-02-26 19:59 ` Re: [COMMITTERS] pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 3 replies; 7+ messages in thread

From: Alvaro Herrera @ 2016-02-26 19:15 UTC (permalink / raw)
  To: pgsql-committers

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....
Discussion: http://www.postgresql.org/message-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3cap...

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


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2016-02-26 19:18 ` Andres Freund <andres@anarazel.de>
  2 siblings, 0 replies; 7+ messages in thread

From: Andres Freund @ 2016-02-26 19:18 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2016-02-26 19:26 ` Thom Brown <thom@linux.com>
  2016-02-26 19:27   ` Re: pgsql: Add a test framework for recovery Thom Brown <thom@linux.com>
  2 siblings, 1 reply; 7+ messages in thread

From: Thom Brown @ 2016-02-26 19:26 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: 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: http://www.postgresql.org/message-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail....
> Discussion: http://www.postgresql.org/message-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3cap...
>
> 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 +++++++++++++++-

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-02-26 19:26 ` Re: pgsql: Add a test framework for recovery Thom Brown <thom@linux.com>
@ 2016-02-26 19:27   ` Thom Brown <thom@linux.com>
  2016-02-26 19:30     ` Re: pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Thom Brown @ 2016-02-26 19:27 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@alvh.no-ip.org>; +Cc: 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: http://www.postgresql.org/message-id/CAB7nPqTf7V6rswrFa=q_rrWeETUWagP=h8LX8XAov2Jcxw0DRg@mail.gmail....
>> Discussion: http://www.postgresql.org/message-id/trinity-b4a8035d-59af-4c42-a37e-258f0f28e44a-1443795007012@3cap...
>>
>> 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 +++++++++++++++-
>
> 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-02-26 19:26 ` Re: pgsql: Add a test framework for recovery Thom Brown <thom@linux.com>
  2016-02-26 19:27   ` Re: pgsql: Add a test framework for recovery Thom Brown <thom@linux.com>
@ 2016-02-26 19:30     ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2016-02-26 19:30 UTC (permalink / raw)
  To: Thom Brown <thom@linux.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: [COMMITTERS] pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
@ 2016-02-26 19:59 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2016-02-26 23:21   ` Re: [COMMITTERS] pgsql: Add a test framework for recovery Michael Paquier <michael.paquier@gmail.com>
  2 siblings, 1 reply; 7+ messages in thread

From: Alvaro Herrera @ 2016-02-26 19:59 UTC (permalink / raw)
  To: pgsql-hackers@postgresql.org

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: [COMMITTERS] pgsql: Add a test framework for recovery
  2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
  2016-02-26 19:59 ` Re: [COMMITTERS] pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2016-02-26 23:21   ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2016-02-26 23:21 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2016-02-26 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 19:15 pgsql: Add a test framework for recovery Alvaro Herrera <alvherre@alvh.no-ip.org>
2016-02-26 19:18 ` Andres Freund <andres@anarazel.de>
2016-02-26 19:26 ` Thom Brown <thom@linux.com>
2016-02-26 19:27   ` Thom Brown <thom@linux.com>
2016-02-26 19:30     ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-02-26 19:59 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2016-02-26 23:21   ` Michael Paquier <michael.paquier@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox