Add -v for race tests to avoid travis and appveyor timeouts. (#3647)

This is added so that CI's don't wrong fully timeout on
little longer running tests.
This commit is contained in:
Harshavardhana 2017-01-27 12:31:02 -08:00 committed by GitHub
parent e1bc99e4fe
commit ccd949d8ca
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ env:
script: script:
- make - make
- make test GOFLAGS="-race" - make test GOFLAGS="-race -v"
- make coverage - make coverage
after_success: after_success:

View File

@ -35,8 +35,8 @@ test_script:
# Unit tests # Unit tests
- ps: Add-AppveyorTest "Unit Tests" -Outcome Running - ps: Add-AppveyorTest "Unit Tests" -Outcome Running
- mkdir build\coverage - mkdir build\coverage
- go test -timeout 15m -race github.com/minio/minio/cmd... - go test -timeout 15m -v -race github.com/minio/minio/cmd...
- go test -race github.com/minio/minio/pkg... - go test -v -race github.com/minio/minio/pkg...
- go test -coverprofile=build\coverage\coverage.txt -covermode=atomic github.com/minio/minio/cmd - go test -coverprofile=build\coverage\coverage.txt -covermode=atomic github.com/minio/minio/cmd
- ps: Update-AppveyorTest "Unit Tests" -Outcome Passed - ps: Update-AppveyorTest "Unit Tests" -Outcome Passed