summaryrefslogtreecommitdiff
path: root/user/openldap/test063.patch
blob: 972feba6fd995ceb2cd25ba39fb0f23c9aff7636 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Test #63 fails with a server replication race.

Seen in Debian at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010608 -
thanks to Ryan Tandy for root cause analysis and suggested fix.

--- openldap-2.6.2/tests/scripts/test063-delta-multiprovider	2022-05-04 09:55:23.000000000 -0500
+++ openldap-2.6.2/tests/scripts/test063-delta-multiprovider	2022-06-01 02:14:47.230724205 -0500
@@ -318,6 +318,9 @@
 	exit $RC
 fi
 
+echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+sleep $SLEEP1
+
 THEDN="cn=James A Jones 2,ou=Alumni Association,ou=People,dc=example,dc=com"
 sleep 1
 for i in 1 2 3; do