Sleep before deleting the cluster to give the controller manager time to

delete any cloudprovider resources still around from the last test.
pull/6/head
Alex Robinson 2015-05-26 17:51:36 +00:00
parent fe3d59ba7a
commit 0188e9af8c
1 changed files with 5 additions and 0 deletions

View File

@ -222,5 +222,10 @@ fi
### Clean up ###
if [[ "${E2E_DOWN,,}" == "true" ]]; then
# Sleep before deleting the cluster to give the controller manager time to
# delete any cloudprovider resources still around from the last test.
# 60 seconds was chosen as an arbitrary bound for how long it should take
# to delete load balancer resources.
sleep 60
go run ./hack/e2e.go ${E2E_OPT} -v --down
fi