From 15db6187b8d567d5c0f543eed9a122709bb7e42d Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 9 Nov 2017 15:44:38 -0800 Subject: Fix wait loop for when stack delete failes Change-Id: Ie564579d9ebf269553c88da5308abb9d28a6b50c Issue-ID: INT-278 Signed-off-by: Gary Wu --- test/ete/scripts/deploy-onap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg