test: increase itest timeout to be 180m

This commit is contained in:
yyforyongyu 2022-10-22 13:10:37 +08:00
parent d5af76cb29
commit 95738351f5
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -80,11 +80,11 @@ LOG_TAGS := nolog
endif
# If a timeout was requested, construct initialize the proper flag for the go
# test command. If not, we set 120m (up from the default 10m).
# test command. If not, we set 180m (up from the default 10m).
ifneq ($(timeout),)
TEST_FLAGS += -test.timeout=$(timeout)
else
TEST_FLAGS += -test.timeout=120m
TEST_FLAGS += -test.timeout=180m
endif
GOLIST := go list -tags="$(DEV_TAGS)" -deps $(PKG)/... | grep '$(PKG)'| grep -v '/vendor/'