Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Commit

Permalink
Removing the Blazar API health check
Browse files Browse the repository at this point in the history
Removing the health check of the Blazar API performed in the
pre_test_hook, because the Blazar API is not started at the moment of
the check.

Change-Id: I826f824790ce305c9d41a898ef1b38a74489f869
  • Loading branch information
pafuent committed Jun 26, 2014
1 parent 1f97ecf commit d50e127
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit d50e127

Please sign in to comment.