Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
fix(e2e): Correctly wait for a node pool stack for deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Jan 13, 2017
1 parent 2f60703 commit 7f62010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/run
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ nodepool_destroy() {

if [ "$status" != "DELETE_IN_PROGRESS" ]; then
${KUBE_AWS_CMD} node-pools destroy --node-pool-name ${KUBE_AWS_NODE_POOL_NAME}
aws cloudformation wait stack-delete-complete \
--stack-name ${KUBE_AWS_NODE_POOL_STACK_NAME}
else
aws cloudformation wait stack-delete-complete \
--stack-name ${KUBE_AWS_NODE_POOL_STACK_NAME}
Expand Down

0 comments on commit 7f62010

Please sign in to comment.