Commit 7c092e18 authored by Daniel Smith's avatar Daniel Smith

Merge pull request #7058 from ixdy/rollbacks

Revert "Continue after failed unit test"
parents 82190a58 fafd1df7
......@@ -151,7 +151,7 @@ runTests() {
if [[ ! ${KUBE_COVER} =~ ^[yY]$ ]]; then
kube::log::status "Running unit tests without code coverage"
go test "${goflags[@]:+${goflags[@]}}" \
${KUBE_RACE} ${KUBE_TIMEOUT} "${@+${@/#/${KUBE_GO_PACKAGE}/}}" || true
${KUBE_RACE} ${KUBE_TIMEOUT} "${@+${@/#/${KUBE_GO_PACKAGE}/}}"
return 0
fi
......@@ -173,7 +173,7 @@ runTests() {
-cover -covermode="${KUBE_COVERMODE}" \
-coverprofile="${cover_report_dir}/{}/${cover_profile}" \
"${cover_params[@]+${cover_params[@]}}" \
"${KUBE_GO_PACKAGE}/{}" || true
"${KUBE_GO_PACKAGE}/{}"
COMBINED_COVER_PROFILE="${cover_report_dir}/combined-coverage.out"
{
......
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