Re: On the stability of TAP tests for LDAP
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Date: 2019-07-24T05:47:13Z
Lists: pgsql-hackers
Attachments
- wait-for-slapd-v2.patch (application/octet-stream) patch v2
On Wed, Jul 24, 2019 at 5:26 PM Michael Paquier <michael@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
Commits
-
Fix LDAP test instability.
- 77d5dea386f5 11.5 landed
- 3964d3bce9ca 12.0 landed
- 27cd521e6e70 13.0 landed