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