diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-11-17 10:54:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 21:54:05 -0500 |
commit | 42670e6b1c8f6dc34785a2efdacf22b749ce7a28 (patch) | |
tree | caa624b6df947c9025c89a838d7d42cd62fc8c70 /Makefile | |
parent | 8fdc5247de76e16899755c64a6d07d856a9d8a92 (diff) | |
download | gitea-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |