pgsql: Use pg_ctl promote -w in TAP tests

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Use pg_ctl promote -w in TAP tests
Дата
Msg-id E1bwqns-0000lz-8M@gemulon.postgresql.org
обсуждение исходный текст
Список 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.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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_ctl: Add long options for -w and -W
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Make getrusage() output a little more readable