diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-06-03 20:24:45 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-06-03 20:28:17 +0900 |
commit | 3e3289448b48fbdf9cc765450bd421e3a71323b5 (patch) | |
tree | bb2912ff362d2ca6293d68e1548e806be16a779b | |
parent | c3a6d636df37926787fba3d02d63445333e34806 (diff) |
travis: use longer timeout
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>
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 46b8c029..014372d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |