Do not require --test_args to be set

This commit is contained in:
Erick Fejta 2016-08-09 19:21:45 -07:00
parent f2d9aaba4d
commit 8ca5759bb0

View File

@ -376,7 +376,10 @@ if [[ "${E2E_DOWN,,}" == "true" ]]; then
fi
if [[ "${E2E_TEST,,}" == "true" ]]; then
e2e_go_args+=(--test --test_args="${GINKGO_TEST_ARGS}")
e2e_go_args+=(--test)
if [[ -n "${GINKGO_TEST_ARGS:-}" ]]; then
e2e_go_args+=(--test_args="${GINKGO_TEST_ARGS}")
fi
fi
# Optionally run tests from the version in kubernetes_skew