Skip to content

Commit

Permalink
Merge pull request kubernetes#902 from jbeda/e2efix
Browse files Browse the repository at this point in the history
Fix e2e teardown
  • Loading branch information
brendandburns committed Aug 14, 2014
2 parents ad8e853 + 629f964 commit f521fff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/gce/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ function test-teardown {
--project ${PROJECT} \
--norespect_terminal_width \
--force \
${MINION_TAG}-http-alt
${MINION_TAG}-http-alt || true > /dev/null
$(dirname $0)/../cluster/kube-down.sh > /dev/null
}

Expand Down
1 change: 1 addition & 0 deletions hack/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export KUBE_REPO_ROOT="$(dirname $0)/.."
export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/kubecfg.sh -expect_version_match"

if [[ $TEAR_DOWN -ne 0 ]]; then
detect-project
trap test-teardown EXIT
exit 0
fi
Expand Down

0 comments on commit f521fff

Please sign in to comment.