Merge pull request #902 from jbeda/e2efix

Fix e2e teardown
This commit is contained in:
brendandburns 2014-08-14 14:24:27 -07:00
commit f521fff89e
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -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