From f70752d9e1d1130f8bf083e744ac401e769fe49b Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Thu, 16 Apr 2015 16:53:07 +0900 Subject: [PATCH] Continue after failed unit test --- hack/test-go.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/test-go.sh b/hack/test-go.sh index 20b782d3be3..e79ea64b16e 100755 --- a/hack/test-go.sh +++ b/hack/test-go.sh @@ -150,7 +150,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}/}}" + ${KUBE_RACE} ${KUBE_TIMEOUT} "${@+${@/#/${KUBE_GO_PACKAGE}/}}" || true return 0 fi @@ -172,7 +172,7 @@ runTests() { -cover -covermode="${KUBE_COVERMODE}" \ -coverprofile="${cover_report_dir}/{}/${cover_profile}" \ "${cover_params[@]+${cover_params[@]}}" \ - "${KUBE_GO_PACKAGE}/{}" + "${KUBE_GO_PACKAGE}/{}" || true COMBINED_COVER_PROFILE="${cover_report_dir}/combined-coverage.out" {