From d15a67ce2c1244bde9cc47eaa1ae59798fff0c72 Mon Sep 17 00:00:00 2001 From: Menno Finlay-Smits Date: Tue, 12 Mar 2019 12:31:47 +1300 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3861ce8..b423bbe 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ build: .PHONY: test test: - go test -v ./... + go test -v -timeout=5m ./... go vet -v .PHONY: check-gofmt