diff --git a/run_tests.sh b/run_tests.sh index dfc9f794c..8826a977c 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -48,7 +48,7 @@ testrepo () { fi # Check tests - env GORACE='halt_on_error=1' go test -race ./... + env GORACE='halt_on_error=1' go test -race $(go list ./... | grep -v vendor) if [ $? != 0 ]; then echo 'go tests failed' exit 1