pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix recovery_min_apply_delay test
Date: Thu, 31 Mar 2016 19:10:57 +0000
Message-ID: <E1alhzd-0002Cn-Fa@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1alhzd-0002Cn-Fa@gemulon.postgresql.org>
Permalink:  ../E1alhzd-0002Cn-Fa@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1alhzd-0002Cn-Fa@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix recovery_min_apply_delay test
  In-Reply-To: <E1alhzd-0002Cn-Fa@gemulon.postgresql.org>
  References: <E1alhzd-0002Cn-Fa@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox