From: Quanah Gibson-Mount Date: Fri, 6 Mar 2009 00:32:21 +0000 (+0000) Subject: Finish SLEEP fixes X-Git-Tag: OPENLDAP_REL_ENG_2_4_16~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=88a87f7b3c41ef9ab38f71714bdd1923fba8db66;p=openldap Finish SLEEP fixes --- diff --git a/tests/scripts/test017-syncreplication-refresh b/tests/scripts/test017-syncreplication-refresh index 572edf77b4..04f1f0be32 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 15 seconds for syncrepl to receive changes..." -sleep 15 +echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." +sleep $SLEEP1 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 15 seconds for syncrepl to receive changes..." -sleep 15 +echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." +sleep $SLEEP1 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 47579a72f2..fda8bcc539 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 15 seconds for consumer to reconnect..." -sleep 15 +echo "Waiting $SLEEP1 seconds for consumer to reconnect..." +sleep $SLEEP1 if test $RC != 0 ; then echo "ldapsearch failed ($RC)!" diff --git a/tests/scripts/test019-syncreplication-cascade b/tests/scripts/test019-syncreplication-cascade index 1d4bde9d3f..f6d3ede615 100755 --- a/tests/scripts/test019-syncreplication-cascade +++ b/tests/scripts/test019-syncreplication-cascade @@ -361,8 +361,8 @@ if test $RC != 0 ; then exit $RC fi -echo "Waiting 25 seconds for syncrepl to receive changes..." -sleep 25 +echo "Waiting $SLEEP2 seconds for syncrepl to receive changes..." +sleep $SLEEP2 echo "Using ldapsearch to read all the entries from the master..." $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ diff --git a/tests/scripts/test049-sync-config b/tests/scripts/test049-sync-config index 4ef7272891..8ca33320dc 100755 --- a/tests/scripts/test049-sync-config +++ b/tests/scripts/test049-sync-config @@ -322,8 +322,8 @@ olcSyncRepl: rid=002 provider=$URI1 binddn="cn=config" bindmethod=simple credentials=$CONFIGPW searchbase="cn=config" type=refreshAndPersist retry="3 5 300 5" timeout=3 EOF -echo "Waiting 10 seconds for syncrepl to receive changes..." -sleep 10 +echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..." +sleep $SLEEP1 echo "Using ldapsearch to read config from the producer..." $LDAPSEARCH -b cn=config -D cn=config -H $URI1 -y $CONFIGPWF \