Обсуждение: pgsql: Use pg_ctl promote -w in TAP tests

Поиск
Список
Период
Сортировка

pgsql: Use pg_ctl promote -w in TAP tests

От
Peter Eisentraut
Дата:
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>

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(-)