Skip to content

Commit

Permalink
travis: use longer timeout
Browse files Browse the repository at this point in the history
sometimes the unittest fails due to 120s timeout. The travis-ci might
be overloaded? Let's see what happens with the longer timeout.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
  • Loading branch information
fujita committed Jun 3, 2019
1 parent c3a6d63 commit 3e32894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,7 @@ language: go
_unittest: &_unittest
go: "1.12"
script:
- go test $([ $(go env GOARCH) == 'amd64' ] && echo '-race') -timeout 120s ./...
- go test $([ $(go env GOARCH) == 'amd64' ] && echo '-race') -timeout 240s ./...
- if [ "$(go env GOARCH)" = "amd64" ]; then go test -race github.com/osrg/gobgp/pkg/packet/bgp -run ^Test_RaceCondition$; else echo 'skip'; fi

_build: &_build
Expand Down

0 comments on commit 3e32894

Please sign in to comment.