From 1636071f6bc16f28faec66106b070a8159b9d256 Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Sat, 26 Sep 2020 18:49:53 -0700 Subject: [PATCH] testing: increase test timeout because 90s is often flaky --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 51e8d87c6..250244f36 100644 --- a/Makefile +++ b/Makefile @@ -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) ./...