]> git.sur5r.net Git - openldap/commitdiff
Fix creeping sleeps
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 28 Jan 2009 20:22:51 +0000 (20:22 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 28 Jan 2009 20:22:51 +0000 (20:22 +0000)
tests/scripts/test017-syncreplication-refresh
tests/scripts/test018-syncreplication-persist

index a7088d6d71f3db34f774633d5eb34fac933dd426..0ffd548717556b3a80421305248916d3605a489b 100755 (executable)
@@ -212,8 +212,8 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
-sleep $SLEEP1
+echo "Waiting 15 seconds for syncrepl to receive changes..."
+sleep 15
 
 echo "Performing modrdn alone on the producer..."
 $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
@@ -232,8 +232,8 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
-sleep $SLEEP1
+echo "Waiting 15 seconds for syncrepl to receive changes..."
+sleep 15
 
 echo "Performing modify alone on the producer..."
 $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
index 4142e310200cadcbcd7ce241887d70b5bca02eb8..606ac615decf88b7a27b068e6ab61a5feba9238e 100755 (executable)
@@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do
        sleep 5
 done
 
-echo "Waiting $SLEEP1 seconds for consumer to reconnect..."
-sleep $SLEEP1
+echo "Waiting 15 seconds for consumer to reconnect..."
+sleep 15
 
 if test $RC != 0 ; then
        echo "ldapsearch failed ($RC)!"