Re: Improve sleep processing of pg_rewind TAP tests

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

On Wed, Apr 22, 2015 at 8:40 PM, Heikki Linnakangas <hlinnaka(at)iki(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pedro Gimeno 2015-04-22 12:30:52 Re: Rounding to even for numeric data type
Previous Message Heikki Linnakangas 2015-04-22 11:40:07 Re: Improve sleep processing of pg_rewind TAP tests