mirror of
https://github.com/kopia/kopia.git
synced 2026-03-12 03:06:31 -04:00
testing: increase test timeout because 90s is often flaky
This commit is contained in:
4
Makefile
4
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) ./...
|
||||
|
||||
Reference in New Issue
Block a user