Merge pull request #159 from chmouel/swift-excercise-only-when-enabled

Only do swift excercise when enabled.
main
Chmouel Boudjnah 13 years ago
commit 05ffac1ee0

@ -192,6 +192,7 @@ nova secgroup-delete $SECGROUP
# make sure that we can describe instances
euca-describe-instances
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
# Testing Swift
# =============
@ -210,3 +211,4 @@ swift --auth-version 2 -A http://${HOST_IP}:5000/v2.0 -U admin -K $ADMIN_PASSWOR
# And we may want to delete them now that we have tested that
# everything works.
swift --auth-version 2 -A http://${HOST_IP}:5000/v2.0 -U admin -K $ADMIN_PASSWORD delete testcontainer
fi

Loading…
Cancel
Save