[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8644) test064-constraint should wait for slapd to start



Full_Name: Ryan Tandy
Version: 2.4.44
OS: Debian
URL: 
Submission from: (NULL) (24.68.41.160)
Submitted by: ryan


test064-constraint can occasionally fail if ldapadd runs while slapd is still
starting up. https://bugs.debian.org/770890 has links to examples.

>>>>> Starting test064-constraint for hdb...
running defines.sh
Starting slapd on TCP/IP port 9011...
Adding basic structure...
ldapadd failed (255)!
>>>>> test064-constraint failed for hdb
(exit 255)

Other scripts have an ldapsearch loop that waits for slapd to start, and the
same should suffice here.