aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2021-11-17 10:54:05 +0800
committerGitHub <noreply@github.com>2021-11-16 21:54:05 -0500
commit42670e6b1c8f6dc34785a2efdacf22b749ce7a28 (patch)
treecaa624b6df947c9025c89a838d7d42cd62fc8c70 /Makefile
parent8fdc5247de76e16899755c64a6d07d856a9d8a92 (diff)
downloadgitea-42670e6b1c8f6dc34785a2efdacf22b749ce7a28.tar.gz
gitea-42670e6b1c8f6dc34785a2efdacf22b749ce7a28.zip
Set unit test timeout to 20 minutes (#17664)
* Set unit test timeout to 15 minutes * Update Makefile Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aa47cea534..6337268c0f 100644
--- a/Makefile
+++ b/Makefile
@@ -392,7 +392,7 @@ coverage:
.PHONY: unit-test-coverage
unit-test-coverage:
@echo "Running unit-test-coverage $(GOTESTFLAGS) -tags '$(TEST_TAGS)'..."
- @$(GO) test $(GOTESTFLAGS) -mod=vendor -tags='$(TEST_TAGS)' -cover -coverprofile coverage.out $(GO_PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
+ @$(GO) test $(GOTESTFLAGS) -mod=vendor -timeout=20m -tags='$(TEST_TAGS)' -cover -coverprofile coverage.out $(GO_PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
.PHONY: vendor
vendor: