Commit 992f023f authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Check resource leaks only when needed

parent 59628744
...@@ -361,11 +361,13 @@ e2e_go_args=( \ ...@@ -361,11 +361,13 @@ e2e_go_args=( \
) )
case "${KUBERNETES_PROVIDER}" in if [[ "${FAIL_ON_GCP_RESOURCE_LEAK:-true}" == "true" ]]; then
gce|gke) case "${KUBERNETES_PROVIDER}" in
e2e_go_args+=(--check_leaked_resources) gce|gke)
;; e2e_go_args+=(--check_leaked_resources)
esac ;;
esac
fi
if [[ "${E2E_UP,,}" == "true" ]]; then if [[ "${E2E_UP,,}" == "true" ]]; then
e2e_go_args+=(--up --ctl="version --match-server-version=false") e2e_go_args+=(--up --ctl="version --match-server-version=false")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment