pgsql: Use pg_ctl promote -w in TAP tests

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use pg_ctl promote -w in TAP tests
Date: 2016-10-19 13:21:08
Message-ID: E1bwqns-0000lz-8M@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use pg_ctl promote -w in TAP tests

Switch TAP tests to use the new wait mode of pg_ctl promote. This
allows avoiding extra logic with poll_query_until() to be sure that a
promoted standby is ready for read-write queries.

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e5a9bcb529c474a07d1aa077665c5fade4c83cfc

Modified Files
--------------
src/bin/pg_rewind/RewindTest.pm | 6 +-----
src/test/perl/PostgresNode.pm | 5 +++--
src/test/recovery/t/004_timeline_switch.pl | 5 +----
3 files changed, 5 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-10-19 13:58:46 pgsql: Make getrusage() output a little more readable
Previous Message Peter Eisentraut 2016-10-19 12:50:07 pgsql: doc: Consistently use = sign in long options synopses