summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeff Bean <bean@uber.com>2018-06-23 17:55:25 -0700
committerJeff Bean <bean@uber.com>2018-06-23 17:55:25 -0700
commitbc4854ce505e2f3fe434a1ce30526f77c4d1fef4 (patch)
treec095702b3f75aea7ddb962471d8a958230cd99af /.travis.yml
parentfb034c3aba46e318fcbd748cef02796a05305aa2 (diff)
timeouts on tests and fixing timeout logic on graceful restart test
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1f35fa60..7a8a9bf3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,7 +8,7 @@ _dep_ensure: &_dep_ensure
_unittest: &_unittest
<<: *_dep_ensure
script:
- - go test $(go list ./... | grep -v '/vendor/')
+ - go test $(go list ./... | grep -v '/vendor/') -timeout 120s
- if [ "$(go env GOARCH)" = "amd64" ]; then go test -race github.com/osrg/gobgp/packet/bgp -run ^Test_RaceCondition$; else echo 'skip'; fi
- go build -o ./gobgp/gobgp ./gobgp/
- go build -o ./gobgpd/gobgpd ./gobgpd/