ITS#7317 use SLEEP0 instead of 1 second sleep

This commit is contained in:
Howard Chu 2012-07-03 16:24:19 -07:00
parent a3a2b53c5d
commit 5ff873d575
2 changed files with 4 additions and 3 deletions

View File

@ -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}

View File

@ -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