Re: Improve sleep processing of pg_rewind TAP tests

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve sleep processing of pg_rewind TAP tests
Date: 2015-04-22 11:40:07
Message-ID: 55378897.6010401@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 04/20/2015 05:21 AM, Michael Paquier wrote:
> I have just made a run of the TAP tests of pg_rewind on my raspberry
> PI 1 (hamster), where the tests are very slow, and I noticed that it
> takes up to 10s to get confirmation from standby that it has caught up
> with the changes from master, and 5s to get confirmation that standby
> has been promoted. So the tests in HEAD would be broken without this
> patch, and 30s gives visibly enough room.

Ok, applied, with some refactoring: I put the sleep-retry loop into a
separate function.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-04-22 12:10:59 Re: Improve sleep processing of pg_rewind TAP tests
Previous Message Ashutosh Bapat 2015-04-22 10:28:04 Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)