From: Howard Chu Date: Tue, 3 Jul 2012 23:24:19 +0000 (-0700) Subject: ITS#7317 use SLEEP0 instead of 1 second sleep X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ff873d575ea5050c0d9f24c8181222a5dfbcfb7;p=openldap ITS#7317 use SLEEP0 instead of 1 second sleep --- diff --git a/tests/scripts/defines.sh b/tests/scripts/defines.sh index 8b77950a9f..68254c498e 100755 --- a/tests/scripts/defines.sh +++ b/tests/scripts/defines.sh @@ -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} diff --git a/tests/scripts/test057-memberof-refint b/tests/scripts/test057-memberof-refint index 35e450176e..21072e42c3 100755 --- a/tests/scripts/test057-memberof-refint +++ b/tests/scripts/test057-memberof-refint @@ -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