Merge "Removing the Blazar API health check"
This commit is contained in:
commit
8fdc7b0b30
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user