diff --git a/test.sh b/test.sh index 35bc22cd9..2f2772b1a 100755 --- a/test.sh +++ b/test.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e -GOMAXPROCS=1 go test -timeout 90s $(go list ./... | grep -v /vendor/) -GOMAXPROCS=4 go test -timeout 90s -race $(go list ./... | grep -v /vendor/) +GOMAXPROCS=1 go test -count 1 -timeout 90s $(go list ./... | grep -v /vendor/) +GOMAXPROCS=4 go test -count 1 -timeout 90s -race $(go list ./... | grep -v /vendor/) # no tests, but a build is something for dir in apps/*/ bench/*/; do