summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-11-09 15:44:38 -0800
committerGary Wu <gary.i.wu@huawei.com>2017-11-09 15:44:38 -0800
commit15db6187b8d567d5c0f543eed9a122709bb7e42d (patch)
tree860a03fc8b8784c0c63c94230647e140a3def951 /test
parent0689e12e26393b91577d6b00f7544726636453cf (diff)
Fix wait loop for when stack delete failes
Change-Id: Ie564579d9ebf269553c88da5308abb9d28a6b50c Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/ete/scripts/deploy-onap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ete/scripts/deploy-onap.sh b/test/ete/scripts/deploy-onap.sh
index 5c46785fc..90393cf86 100755
--- a/test/ete/scripts/deploy-onap.sh
+++ b/test/ete/scripts/deploy-onap.sh
@@ -13,7 +13,7 @@ if [ ! -z "${STACKS}" ]; then
echo "Deleting Stacks ${STACKS}"
openstack stack delete -y $STACKS
for STACK in ${STACKS}; do
- until ! openstack stack show -c stack_status -f value $STACK; do
+ until [ "DELETE_IN_PROGRESS" != "$(openstack stack show -c stack_status -f value $STACK)" ]; do
sleep 30
done
done