]> granicus.if.org Git - postgresql/commit
Fix LDAP test instability.
authorThomas Munro <tmunro@postgresql.org>
Thu, 25 Jul 2019 22:01:18 +0000 (10:01 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 25 Jul 2019 22:01:18 +0000 (10:01 +1200)
commit27cd521e6e7084516fbc5e5a8492316b3ba8c25c
tree99c6b41f698c06ea4736955bfefab3afb6cd8cd6
parentf63d9e68d4132a4608e9f50782aaacbe5ed6f57a
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
src/test/ldap/t/001_auth.pl