pgsql: Fix recovery_min_apply_delay test - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix recovery_min_apply_delay test
Date
Msg-id E1alhzd-0002Cn-Fa@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Support using index-only scans with partial indexes in more case
Next
From: Tom Lane
Date:
Subject: pgsql: Another zic portability fix.