From 0188e9af8c5d7644288abe48b6996a89550f3bb5 Mon Sep 17 00:00:00 2001 From: Alex Robinson Date: Tue, 26 May 2015 17:51:36 +0000 Subject: [PATCH] Sleep before deleting the cluster to give the controller manager time to delete any cloudprovider resources still around from the last test. --- hack/jenkins/e2e.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 55bfe4e829d..a2f132434ac 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -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