From: Quanah Gibson-Mount Date: Wed, 28 Jan 2009 20:22:51 +0000 (+0000) Subject: Fix creeping sleeps X-Git-Tag: OPENLDAP_REL_ENG_2_4_14~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ef0dca3ebee42bd0078e4d62ffea826bd93e7ad;p=openldap Fix creeping sleeps --- diff --git a/tests/scripts/test017-syncreplication-refresh b/tests/scripts/test017-syncreplication-refresh index a7088d6d71..0ffd548717 100755 --- a/tests/scripts/test017-syncreplication-refresh +++ b/tests/scripts/test017-syncreplication-refresh @@ -212,8 +212,8 @@ if test $RC != 0 ; then exit $RC fi -echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." -sleep $SLEEP1 +echo "Waiting 15 seconds for syncrepl to receive changes..." +sleep 15 echo "Performing modrdn alone on the producer..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ @@ -232,8 +232,8 @@ if test $RC != 0 ; then exit $RC fi -echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." -sleep $SLEEP1 +echo "Waiting 15 seconds for syncrepl to receive changes..." +sleep 15 echo "Performing modify alone on the producer..." $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ diff --git a/tests/scripts/test018-syncreplication-persist b/tests/scripts/test018-syncreplication-persist index 4142e31020..606ac615de 100755 --- a/tests/scripts/test018-syncreplication-persist +++ b/tests/scripts/test018-syncreplication-persist @@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do sleep 5 done -echo "Waiting $SLEEP1 seconds for consumer to reconnect..." -sleep $SLEEP1 +echo "Waiting 15 seconds for consumer to reconnect..." +sleep 15 if test $RC != 0 ; then echo "ldapsearch failed ($RC)!"