mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
A few more waits
This commit is contained in:
parent
604f7fb9db
commit
139aa12e6f
@ -217,6 +217,7 @@ fi
|
||||
SLEEP=10
|
||||
echo "Stopping the provider, sleeping $SLEEP seconds and restarting it..."
|
||||
kill -HUP "$MASTERPID"
|
||||
wait $MASTERPID
|
||||
sleep $SLEEP
|
||||
|
||||
echo "======================= RESTART =======================" >> $LOG1
|
||||
@ -376,10 +377,9 @@ if test $? != 0 ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SLEEP=10
|
||||
echo "Stopping proxy to test recovery; sleep for $SLEEP seconds..."
|
||||
echo "Stopping proxy to test recovery..."
|
||||
kill -HUP $PROXYPID
|
||||
sleep $SLEEP
|
||||
wait $PROXYPID
|
||||
|
||||
echo "Modifying more entries on the master..."
|
||||
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD >> \
|
||||
@ -517,10 +517,9 @@ EOMODS
|
||||
fi
|
||||
fi
|
||||
|
||||
SLEEP=10
|
||||
echo "Stopping consumer to test recovery; wait $SLEEP seconds..."
|
||||
echo "Stopping consumer to test recovery..."
|
||||
kill -HUP $SLAVEPID
|
||||
sleep $SLEEP
|
||||
wait $SLAVEPID
|
||||
|
||||
echo "Modifying more entries on the master..."
|
||||
$LDAPMODIFY -v -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD >> \
|
||||
@ -583,10 +582,9 @@ if test $? != 0 ; then
|
||||
#test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
#exit 1
|
||||
|
||||
SLEEP=10
|
||||
echo " Stopping proxy to see if it auto-recovers; sleep for $SLEEP seconds..."
|
||||
echo " Stopping proxy to see if it auto-recovers..."
|
||||
kill -HUP $PROXYPID
|
||||
sleep $SLEEP
|
||||
wait $PROXYPID
|
||||
|
||||
echo " Restarting proxy..."
|
||||
echo "======================= RESTART =======================" >> $LOG3
|
||||
|
Loading…
Reference in New Issue
Block a user