Increase timeout for Helm cleanup in integration tests (#4317)

* Increase timeout for Helm cleanup in integration tests

Tests were failing sporadically, waiting for the Helm namespace to get
cleaned up. I verified that it is getting cleaned up, but taking more
time sometimes.
This commit is contained in:
Alejandro Pedraza 2020-05-01 09:48:37 -05:00 committed by GitHub
parent 9e9f3bb1e2
commit fdd7809f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ helm_cleanup() {
# We wait for the namespace to be gone so the following call to `cleanup` doesn't fail when it attempts to delete
# the same namespace that is already being deleted here (error thrown by the NamespaceLifecycle controller).
# We don't have that problem with global resources, so no need to wait for them to be gone.
kubectl wait --for=delete ns/$linkerd_namespace-helm --timeout=40s
kubectl wait --for=delete ns/$linkerd_namespace-helm --timeout=120s
# `helm reset` deletes the tiller pod in $tiller_namespace
"$helm_path" --kube-context=$k8s_context --tiller-namespace=$tiller_namespace reset
kubectl --context=$k8s_context delete clusterrolebinding ${tiller_namespace}:tiller-cluster-admin