Re: Improve sleep processing of pg_rewind TAP tests - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Improve sleep processing of pg_rewind TAP tests
Date
Msg-id CAB7nPqT8B4RLRAz17YFbiT3Bk-cwv8Hr6wPFPkyKY0hxgAJ4tA@mail.gmail.com
Whole thread Raw
In response to Re: Improve sleep processing of pg_rewind TAP tests  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Wed, Apr 22, 2015 at 8:40 PM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> 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.

Thanks.
-- 
Michael



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Improve sleep processing of pg_rewind TAP tests
Next
From: Michael Paquier
Date:
Subject: Re: Rounding to even for numeric data type