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 <[email protected]> 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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
