pgsql: Fix LDAP test instability.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix LDAP test instability.
Date: 2019-07-25 22:17:00
Message-ID: E1hqm2m-00059p-Pi@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix LDAP test instability.

After starting slapd, wait until it can accept a connection before
beginning the real test work. This avoids occasional test failures.
Back-patch to 11, where the LDAP tests arrived.

Author: Thomas Munro
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/20190719033013.GI1859%40paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27cd521e6e7084516fbc5e5a8492316b3ba8c25c

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-07-25 22:17:15 pgsql: Fix LDAP test instability.
Previous Message Andres Freund 2019-07-25 21:53:51 pgsql: Add missing (COSTS OFF) to EXPLAIN added in previous commit.