Skip to content

Commit

Permalink
Check resource leaks only when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-t committed Aug 16, 2016
1 parent 5962874 commit 992f023
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions hack/jenkins/e2e-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,13 @@ e2e_go_args=( \
)


case "${KUBERNETES_PROVIDER}" in
gce|gke)
e2e_go_args+=(--check_leaked_resources)
;;
esac
if [[ "${FAIL_ON_GCP_RESOURCE_LEAK:-true}" == "true" ]]; then
case "${KUBERNETES_PROVIDER}" in
gce|gke)
e2e_go_args+=(--check_leaked_resources)
;;
esac
fi

if [[ "${E2E_UP,,}" == "true" ]]; then
e2e_go_args+=(--up --ctl="version --match-server-version=false")
Expand Down

0 comments on commit 992f023

Please sign in to comment.