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(+)