]> git.sur5r.net Git - openldap/commitdiff
Add a delay while consumer is down to exercise proxy retry
authorHoward Chu <hyc@openldap.org>
Wed, 11 Jan 2006 07:38:21 +0000 (07:38 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 11 Jan 2006 07:38:21 +0000 (07:38 +0000)
tests/scripts/test045-syncreplication-proxied

index b636a6832008815b7d3d7f1d8e1da947fbc14c31..352d842ea85ea843dab58b3d2175bbd4d7c6888b 100755 (executable)
@@ -531,6 +531,10 @@ drink: Mad Dog 20/20
 
 EOMODS
 
+SLEEP=10
+echo "Waiting $SLEEP seconds for syncrepl to retry..."
+sleep $SLEEP
+
 echo "Restarting consumer..."
 echo "======================= RESTART =======================" >> $LOG2
 $SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1 &