From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix LDAP test instability.
Date: Thu, 25 Jul 2019 22:17:15 +0000
Message-ID: <E1hqm31-0005Am-Ny@gemulon.postgresql.org> (raw)
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
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3964d3bce9ca1e45301f99800fc798768f7b57ac
Modified Files
--------------
src/test/ldap/t/001_auth.pl | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org
Subject: Re: pgsql: Fix LDAP test instability.
In-Reply-To: <E1hqm31-0005Am-Ny@gemulon.postgresql.org>
References: <E1hqm31-0005Am-Ny@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox