From b5e67330b1910f83045d2166da24f5bdca91061e Mon Sep 17 00:00:00 2001 From: Ryan Richard Date: Thu, 19 Dec 2024 11:34:36 -0800 Subject: [PATCH] Revert "Temporarily run unit tests without -race due to #2160" This reverts commit 6fad7ef3c2bae8387e0b62e11c6b98de74a3b2ea. --- pipelines/shared-tasks/run-unit-tests/task.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pipelines/shared-tasks/run-unit-tests/task.sh b/pipelines/shared-tasks/run-unit-tests/task.sh index 1b1d70a51..6364b8ae2 100755 --- a/pipelines/shared-tasks/run-unit-tests/task.sh +++ b/pipelines/shared-tasks/run-unit-tests/task.sh @@ -14,5 +14,4 @@ export GOCACHE="$PWD/cache/gocache" export GOMODCACHE="$PWD/cache/gomodcache" cd pinniped -# Temporarily remove "-race" from the next line due to https://github.com/vmware-tanzu/pinniped/pull/2160 -go test -short -coverprofile "${COVERAGE_OUTPUT}" -covermode atomic ./... +go test -short -race -coverprofile "${COVERAGE_OUTPUT}" -covermode atomic ./...