On Wed, Jul 24, 2019 at 5:26 PM Michael Paquier <mich...@paquier.xyz> wrote: > > Does this look about right? > > Some comments from here. I have not tested the patch. > > I would recommend using TestLib::system_log instead of plain system(). > The command should be a list of arguments with one element per > argument (see call of system_log in PostgresNode.pm for example). The > indentation is incorrect, and that I would make the retry longer as I > got the feeling that on slow machines we could still have issues. We > also usually tend to increase the timeout up to 5 minutes, and the > sleep phases make use of Time::HiRes::usleep.
Thanks, here's v2. -- Thomas Munro https://enterprisedb.com
wait-for-slapd-v2.patch
Description: Binary data