Simplify fetch-slot-xmins logic in recovery TAP tests.
Tom Lane <tgl@sss.pgh.pa.us>
Simplify fetch-slot-xmins logic in recovery TAP tests. Merge wait_slot_xmins() into get_slot_xmins(). At this point the only place that wasn't doing a wait was the initial-state test, and a wait there seems pretty harmless. Michael Paquier Discussion: https://postgr.es/m/CAB7nPqSp_SLQb2uU7am+sn4V3g1UKv8j3yZU385oAG1cG_BN9Q@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/001_stream_rep.pl | modified | +25 −40 |
Discussion
- Timing-sensitive case in src/test/recovery TAP tests 16 messages · 2017-06-25 → 2017-08-13