Use pg_ctl promote -w in TAP tests

Peter Eisentraut <peter_e@gmx.net>

Commit: e5a9bcb529c474a07d1aa077665c5fade4c83cfc
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-10-19T13:18:50Z
Releases: 10.0
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.paquier@gmail.com>

Files