Merge pull request #159 from chmouel/swift-excercise-only-when-enabled
Only do swift excercise when enabled.
This commit is contained in:
commit
05ffac1ee0
1 changed files with 15 additions and 13 deletions
|
@ -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…
Reference in a new issue