From 34fc9b7705ea63ce3a10e825c102248db55e7d07 Mon Sep 17 00:00:00 2001 From: shaynafinocchiaro Date: Thu, 22 Feb 2024 09:57:02 -0500 Subject: [PATCH] Update entrypoint.sh --- go-code-tester/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go-code-tester/entrypoint.sh b/go-code-tester/entrypoint.sh index 021c549..de5b056 100755 --- a/go-code-tester/entrypoint.sh +++ b/go-code-tester/entrypoint.sh @@ -18,10 +18,10 @@ go clean -testcache cd ${TEST_FOLDER} if [[ -z $RACE_DETECTOR ]] || [[ $RACE_DETECTOR == "true" ]]; then - go test -v -short -race -count=1 -cover ./... > ~/run.log + GOEXPERIMENT=nocoverageredesign go test -v -short -race -count=1 -cover ./... > ~/run.log else # Run without the race flag - go test -v -short -count=1 -cover ./... > ~/run.log + GOEXPERIMENT=nocoverageredesign go test -v -short -count=1 -cover ./... > ~/run.log fi TEST_RETURN_CODE=$?