speed up the CI builds by using the new benchmark test flags

Reduce the number of samples and the amount of data transferred.
This commit is contained in:
Marten Seemann
2017-07-25 11:21:47 +07:00
parent 30bcc48e52
commit bc1858c7ec
2 changed files with 4 additions and 3 deletions

View File

@@ -9,11 +9,11 @@ fi
if [ ${TESTMODE} == "integration" ]; then
# run benchmark tests
ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress benchmark
ginkgo --randomizeAllSpecs --randomizeSuites --trace --progress benchmark -- -samples=1
# run benchmark tests with the Go race detector
# The Go race detector only works on amd64.
if [ ${TRAVIS_GOARCH} == 'amd64' ]; then
ginkgo --race --randomizeAllSpecs --randomizeSuites --trace --progress benchmark
ginkgo --race --randomizeAllSpecs --randomizeSuites --trace --progress benchmark -- -samples=1 -size=10
fi
# run integration tests
ginkgo -v -r --randomizeAllSpecs --randomizeSuites --trace --progress integrationtests