Merge "Removing the Blazar API health check"

This commit is contained in:
Jenkins 2014-06-27 14:48:08 +00:00 committed by Gerrit Code Review
commit 8fdc7b0b30

View File

@ -31,16 +31,6 @@
cp $BLAZAR_DEVSTACK_BASE/extras.d/* $DEVSTACK_BASE/extras.d
# Install blazar tempest integration
# How many seconds to wait for the API to be responding before giving up
API_RESPONDING_TIMEOUT=20
if ! timeout ${API_RESPONDING_TIMEOUT} sh -c "while ! curl -s http://127.0.0.1:1234/ 2>/dev/null | grep -q 'Authentication required' ; do sleep 1; done"; then
echo "Blazar API failed to respond within ${API_RESPONDING_TIMEOUT} seconds"
exit 1
fi
echo "Successfully contacted Blazar API"
# Copying Tempest test suites
BLAZAR_TEMPEST_DIR=$BLAZAR_BASE/contrib/tempest
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}