Use pg_ctl promote -w in TAP tests
Peter Eisentraut <peter_e@gmx.net>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/RewindTest.pm | modified | +1 −5 |
| src/test/perl/PostgresNode.pm | modified | +3 −2 |
| src/test/recovery/t/004_timeline_switch.pl | modified | +1 −4 |