run the internal and http3 tests with race detector on Travis

This commit is contained in:
Marten Seemann
2020-02-25 15:08:25 +07:00
parent 25b3eb8a37
commit b128ad50c9

View File

@@ -13,6 +13,11 @@ fi
if [ ${TESTMODE} == "unit" ]; then
ginkgo -r -v -cover -randomizeAllSpecs -randomizeSuites -trace -skipPackage integrationtests,benchmark
# run internal and http3 tests with the Go race detector
# The Go race detector only works on amd64.
if [ ${TRAVIS_GOARCH} == 'amd64' ]; then
ginkgo -r -v -race -randomizeAllSpecs -randomizeSuites -trace internal http3
fi
fi
if [ ${TESTMODE} == "integration" ]; then