From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add more tests for commit_timestamp feature
Date: Tue, 01 Mar 2016 22:55:32 +0000
Message-ID: <E1aatCW-00059i-P5@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add more tests for commit_timestamp feature
These tests verify that 1) WAL replay preserves the stored value,
2) a streaming standby server replays the value obtained from the
master, and 3) the behavior is sensible in the face of repeated
configuration changes.
One annoyance is that tmp_check/ subdir from the TAP tests is clobbered
when the pg_regress test runs in the same subdirectory. This is
bothersome but not too terrible a problem, since the pg_regress test is
not run anyway if the TAP tests fail (unless "make -k" is used).
I had these tests around since commit 69e7235c93e2; add them now that we
have the recovery test framework in place.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9def031bd2821f35b5f506260d922482648a8bb0
Modified Files
--------------
src/test/modules/commit_ts/Makefile | 5 +++
src/test/modules/commit_ts/t/001_base.pl | 29 ++++++++++++++
src/test/modules/commit_ts/t/002_standby.pl | 55 ++++++++++++++++++++++++++
src/test/modules/commit_ts/t/003_standby_2.pl | 56 +++++++++++++++++++++++++++
4 files changed, 145 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Add more tests for commit_timestamp feature
In-Reply-To: <E1aatCW-00059i-P5@gemulon.postgresql.org>
References: <E1aatCW-00059i-P5@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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