]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test043-delta-syncrepl
Set sync intervals to 3 seconds, use SLEEP1 and SLEEP2 for sync delays
[openldap] / tests / scripts / test043-delta-syncrepl
index 7675e7bcfe3fd6d8f1c2d6c591008008cddcfc08..b3099c0b9dd058da66ab3ac2337802d9fd35667d 100755 (executable)
@@ -122,8 +122,8 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-echo "Waiting 15 seconds for syncrepl to receive changes..."
-sleep 15
+echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+sleep $SLEEP1
 
 echo "Stopping the provider, sleeping 10 seconds and restarting it..."
 kill -HUP "$PID"
@@ -242,8 +242,8 @@ if test $RC != 0 ; then
        exit $RC
 fi
 
-echo "Waiting 15 seconds for syncrepl to receive changes..."
-sleep 15
+echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+sleep $SLEEP1
 
 echo "Stopping consumer to test recovery..."
 kill -HUP $SLAVEPID
@@ -288,8 +288,8 @@ if test $WAIT != 0 ; then
 fi
 KILLPIDS="$PID $SLAVEPID"
 
-echo "Waiting 25 seconds for syncrepl to receive changes..."
-sleep 25
+echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+sleep $SLEEP1
 
 if test ! $BACKLDAP = "ldapno" ; then
        echo "Try updating the consumer slapd..."
@@ -310,8 +310,8 @@ EOMODS
                exit $RC
        fi
 
-       echo "Waiting 15 seconds for syncrepl to receive changes..."
-       sleep 15
+       echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
+       sleep $SLEEP1
 fi
 
 echo "Using ldapsearch to read all the entries from the producer..."