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
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868

View file

@ -81,11 +81,11 @@ LOG_TAGS := nolog
endif
# 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),)
TEST_FLAGS += -test.timeout=$(timeout)
else
TEST_FLAGS += -test.timeout=60m
TEST_FLAGS += -test.timeout=120m
endif
GOLIST := go list -tags="$(DEV_TAGS)" -deps $(PKG)/... | grep '$(PKG)'| grep -v '/vendor/'