From 5ff873d575ea5050c0d9f24c8181222a5dfbcfb7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 3 Jul 2012 16:24:19 -0700 Subject: [PATCH] ITS#7317 use SLEEP0 instead of 1 second sleep --- tests/scripts/defines.sh | 1 + tests/scripts/test057-memberof-refint | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5