From 36f7969afa6057ffbbb87622242447e83187d479 Mon Sep 17 00:00:00 2001 From: shaynafinocchiaro Date: Thu, 22 Feb 2024 14:57:00 -0500 Subject: [PATCH] Update entrypoint.sh (#75) --- 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 021c5497..de5b0560 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=$?