testing: increase test timeout because 90s is often flaky
@@ -181,10 +181,10 @@ dev-deps:
GO111MODULE=off go get -u github.com/sqs/goreturns
test-with-coverage:
- $(GO_TEST) -count=1 -coverprofile=tmp.cov --coverpkg $(COVERAGE_PACKAGES) -timeout 90s $(shell go list ./...)
+ $(GO_TEST) -count=1 -coverprofile=tmp.cov --coverpkg $(COVERAGE_PACKAGES) -timeout 300s $(shell go list ./...)
test-with-coverage-pkgonly:
- $(GO_TEST) -count=1 -coverprofile=tmp.cov -timeout 90s github.com/kopia/kopia/...
+ $(GO_TEST) -count=1 -coverprofile=tmp.cov -timeout 300s github.com/kopia/kopia/...
test:
$(GO_TEST) -count=1 -timeout $(UNIT_TESTS_TIMEOUT) ./...
