Only run swift excercise when swift is enabled.
This commit is contained in:
parent
e1664a469b
commit
53ca603b45
@ -192,6 +192,7 @@ nova secgroup-delete $SECGROUP
|
|||||||
# make sure that we can describe instances
|
# make sure that we can describe instances
|
||||||
euca-describe-instances
|
euca-describe-instances
|
||||||
|
|
||||||
|
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
|
||||||
# Testing Swift
|
# 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
|
# And we may want to delete them now that we have tested that
|
||||||
# everything works.
|
# everything works.
|
||||||
swift --auth-version 2 -A http://${HOST_IP}:5000/v2.0 -U admin -K $ADMIN_PASSWORD delete testcontainer
|
swift --auth-version 2 -A http://${HOST_IP}:5000/v2.0 -U admin -K $ADMIN_PASSWORD delete testcontainer
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user