diff --git a/all-test-with-coverage.sh b/all-test-with-coverage.sh index 56bfcf1..6af7cbe 100644 --- a/all-test-with-coverage.sh +++ b/all-test-with-coverage.sh @@ -4,9 +4,10 @@ set -e echo "" > coverage.txt for d in $(go list ./... | grep -v vendor); do - go test -v -race -coverprofile=profile.out -covermode=atomic $d + go test -v -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then cat profile.out >> coverage.txt rm profile.out fi -done \ No newline at end of file +done +go test -v -race ./... \ No newline at end of file diff --git a/auth/authentication_test.go b/auth/authentication_test.go index 5da2f35..49cc381 100644 --- a/auth/authentication_test.go +++ b/auth/authentication_test.go @@ -1,3 +1,5 @@ +// +build !race + package auth import ( diff --git a/auth/password_test.go b/auth/password_test.go index 0154225..fd254fb 100644 --- a/auth/password_test.go +++ b/auth/password_test.go @@ -1,3 +1,5 @@ +// +build !race + package auth import (