Skip to content

Commit 04c80a7

Browse files
author
Linus Arver
committed
go-test: enable race detector
This way we can catch race conditions during development.
1 parent f32b604 commit 04c80a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/make-rules/go-test/unit.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,7 @@ fi
6464
umask 0022
6565
mkdir -p "${JUNIT_RESULT_DIR}"
6666
"${REPO_ROOT}/_bin/gotestsum" --junitfile="${JUNIT_RESULT_DIR}/junit-unit.xml" \
67-
-- "./${folder_to_test}"
67+
-- \
68+
-race \
69+
"./${folder_to_test}"
6870
)

0 commit comments

Comments
 (0)