Commit 88a87f7b authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Finish SLEEP fixes

parent 13ac7429
...@@ -212,8 +212,8 @@ if test $RC != 0 ; then ...@@ -212,8 +212,8 @@ if test $RC != 0 ; then
exit $RC exit $RC
fi fi
echo "Waiting 15 seconds for syncrepl to receive changes..." echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
sleep 15 sleep $SLEEP1
echo "Performing modrdn alone on the producer..." echo "Performing modrdn alone on the producer..."
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
...@@ -232,8 +232,8 @@ if test $RC != 0 ; then ...@@ -232,8 +232,8 @@ if test $RC != 0 ; then
exit $RC exit $RC
fi fi
echo "Waiting 15 seconds for syncrepl to receive changes..." echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
sleep 15 sleep $SLEEP1
echo "Performing modify alone on the producer..." echo "Performing modify alone on the producer..."
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \ $LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
......
...@@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do ...@@ -148,8 +148,8 @@ for i in 0 1 2 3 4 5; do
sleep 5 sleep 5
done done
echo "Waiting 15 seconds for consumer to reconnect..." echo "Waiting $SLEEP1 seconds for consumer to reconnect..."
sleep 15 sleep $SLEEP1
if test $RC != 0 ; then if test $RC != 0 ; then
echo "ldapsearch failed ($RC)!" echo "ldapsearch failed ($RC)!"
......
...@@ -361,8 +361,8 @@ if test $RC != 0 ; then ...@@ -361,8 +361,8 @@ if test $RC != 0 ; then
exit $RC exit $RC
fi fi
echo "Waiting 25 seconds for syncrepl to receive changes..." echo "Waiting $SLEEP2 seconds for syncrepl to receive changes..."
sleep 25 sleep $SLEEP2
echo "Using ldapsearch to read all the entries from the master..." echo "Using ldapsearch to read all the entries from the master..."
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \ $LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \
......
...@@ -322,8 +322,8 @@ olcSyncRepl: rid=002 provider=$URI1 binddn="cn=config" bindmethod=simple ...@@ -322,8 +322,8 @@ olcSyncRepl: rid=002 provider=$URI1 binddn="cn=config" bindmethod=simple
credentials=$CONFIGPW searchbase="cn=config" type=refreshAndPersist credentials=$CONFIGPW searchbase="cn=config" type=refreshAndPersist
retry="3 5 300 5" timeout=3 retry="3 5 300 5" timeout=3
EOF EOF
echo "Waiting 10 seconds for syncrepl to receive changes..." echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
sleep 10 sleep $SLEEP1
echo "Using ldapsearch to read config from the producer..." echo "Using ldapsearch to read config from the producer..."
$LDAPSEARCH -b cn=config -D cn=config -H $URI1 -y $CONFIGPWF \ $LDAPSEARCH -b cn=config -D cn=config -H $URI1 -y $CONFIGPWF \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment