]> git.sur5r.net Git - openldap/commitdiff
ITS#7317 use SLEEP0 instead of 1 second sleep
authorHoward Chu <hyc@openldap.org>
Tue, 3 Jul 2012 23:24:19 +0000 (16:24 -0700)
committerHoward Chu <hyc@openldap.org>
Tue, 3 Jul 2012 23:24:19 +0000 (16:24 -0700)
tests/scripts/defines.sh
tests/scripts/test057-memberof-refint

index 8b77950a9fbda8952f1211dff04a0e3ba254bd1c..68254c498e762b8a647edc99ff1dd11a81604a17 100755 (executable)
@@ -46,6 +46,7 @@ WITH_SASL=${AC_WITH_SASL-no}
 USE_SASL=${SLAPD_USE_SASL-no}
 ACI=${AC_ACI_ENABLED-acino}
 THREADS=${AC_THREADS-threadsno}
+SLEEP0=${SLEEP0-1}
 SLEEP1=${SLEEP1-7}
 SLEEP2=${SLEEP2-15}
 
index 35e450176e93b24cf39b41bfad1e39c5b8bcb722..21072e42c3273a20ac4e68989b1d69c6b3477a36 100755 (executable)
@@ -201,7 +201,7 @@ EOF
 
 # refint runs in a background thread, so it most likely won't complete
 # before the modify returns. Give it some time to execute.
-sleep 1
+sleep $SLEEP0
 
 echo "Re-search the entire database..."
 echo "# Re-search the entire database..." >> $SEARCHOUT
@@ -225,7 +225,7 @@ deleteoldrdn:1
 newsuperior: $BASEDN
 EOF
 
-sleep 1
+sleep $SLEEP0
 
 echo "Re-search the entire database..."
 echo "# Re-search the entire database..." >> $SEARCHOUT
@@ -246,7 +246,7 @@ dn: cn=Baby Herman,ou=Toons,$BASEDN
 changetype: delete
 EOF
 
-sleep 1
+sleep $SLEEP0
 
 echo "Re-search the entire database..."
 echo "# Re-search the entire database..." >> $SEARCHOUT