Add -timeout to go test

The tests are timing out on TravisCI for some reason so a timeout has
been added so that `go test` will dump out the goroutine stack traces
when the tests are stuck.
This commit is contained in:
Menno Finlay-Smits 2019-03-12 12:31:47 +13:00
parent a6f002b5fe
commit d15a67ce2c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ build:
.PHONY: test
test:
go test -v ./...
go test -v -timeout=5m ./...
go vet -v
.PHONY: check-gofmt