
This commit removes any trailing spaces at the end of the lines that was still present after recent cleanups. Change-Id: I4e6b2e7106a380cc34571ff35b5e727c476996a8
23 lines
562 B
Plaintext
23 lines
562 B
Plaintext
# Test: Stop Galera and Rabbitmq, wait 20 minutes to see if something fails
|
|
|
|
echo "$(date) * Step 1: disable core services"
|
|
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
|
|
|
|
echo "$(date) - List of cluster's failed actions:"
|
|
check_failed_actions
|
|
|
|
echo "$(date) * Step 2: poll every minute for twenty minutes the status of the resources"
|
|
for i in $(seq 1 20)
|
|
do
|
|
check_failed_actions
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "Errors found, test is over."
|
|
break
|
|
fi
|
|
sleep 60
|
|
done
|
|
|
|
echo "$(date) - List of cluster's failed actions:"
|
|
check_failed_actions
|