- Notifications
You must be signed in to change notification settings - Fork5
Commite5a9bcb
committed
Use pg_ctl promote -w in TAP tests
Switch TAP tests to use the new wait mode of pg_ctl promote. Thisallows avoiding extra logic with poll_query_until() to be sure that apromoted standby is ready for read-write queries.From: Michael Paquier <michael.paquier@gmail.com>1 parent5d58c07 commite5a9bcb
File tree
3 files changed
+5
-11
lines changed- src
- bin/pg_rewind
- test
- perl
- recovery/t
3 files changed
+5
-11
lines changedLines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 |
| - | |
| 164 | + | |
166 | 165 |
| |
167 |
| - | |
168 |
| - | |
169 |
| - | |
170 | 166 |
| |
171 | 167 |
| |
172 | 168 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
723 | 723 |
| |
724 | 724 |
| |
725 | 725 |
| |
726 |
| - | |
| 726 | + | |
727 | 727 |
| |
728 | 728 |
| |
729 | 729 |
| |
| |||
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
738 |
| - | |
| 738 | + | |
| 739 | + | |
739 | 740 |
| |
740 | 741 |
| |
741 | 742 |
| |
|
Lines changed: 1 addition & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
| 60 | + | |
64 | 61 |
| |
65 | 62 |
| |
66 | 63 |
| |
|
0 commit comments
Comments
(0)