testing: increase test timeout because 90s is often flaky

This commit is contained in:
Jarek Kowalski
2020-09-26 18:49:53 -07:00
parent ff6a414ec5
commit 1636071f6b

View File

@@ -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) ./...