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.
master
Harshavardhana 8 years ago committed by GitHub
parent e1bc99e4fe
commit ccd949d8ca
  1. 2
      .travis.yml
  2. 4
      appveyor.yml

@ -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:

@ -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

Loading…
Cancel
Save