From 0512dd1e8652ea6abed87ebfb9abe9c0418d6dc7 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 21 Mar 2022 17:13:35 +0100 Subject: [PATCH] fix(tests): add -buildvcs=false as a temporary fix for go 1.18 bug (see https://github.com/golang/go/issues/51723) --- test/gotest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/gotest.sh b/test/gotest.sh index d9c2de80..f5ff4099 100755 --- a/test/gotest.sh +++ b/test/gotest.sh @@ -2,5 +2,6 @@ set -x -go test -race -covermode=atomic -coverprofile=/tests/coverage.txt ./... +# TODO: remove -buildvcs=false when fix for https://github.com/golang/go/issues/51723 is live. +go test -buildvcs=false -race -covermode=atomic -coverprofile=/tests/coverage.txt ./... go tool cover -html=coverage.txt -o /tests/coverage.html \ No newline at end of file