itest: increase test timeout to 120m

We now update our test timeout from 60m to 120m because most of the
tests would now take more than one hour to finish.
This commit is contained in:
yyforyongyu
2022-08-19 01:01:53 +08:00
parent 666f877710
commit 2fe7413f0e

View File

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