| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix recovery_min_apply_delay test |
| Date: | 2016-03-31 19:10:57 |
| Message-ID: | E1alhzd-0002Cn-Fa@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix recovery_min_apply_delay test
Previously this test was relying too much on WAL replay to occur in the
exact configured interval, which was unreliable on slow or overly busy
servers. Use a custom loop instead of poll_query_until, which is
hopefully more reliable.
Per continued failures on buildfarm member hamster (which is probably
the only one running this test suite)
Author: Michaël Paquier
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/61608d38361f911a741d4a7df63afe3c7221437e
Modified Files
--------------
src/test/recovery/t/005_replay_delay.pl | 56 ++++++++++++++++++++++-----------
1 file changed, 37 insertions(+), 19 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-03-31 20:15:01 | pgsql: Another zic portability fix. |
| Previous Message | Tom Lane | 2016-03-31 18:49:31 | pgsql: Support using index-only scans with partial indexes in more case |