Merge pull request #1613 from halseth/rpctest-increase-timeout
make: if timeout not set, use 20m instead of default 10m
This commit is contained in:
commit
92b0b10dc7
@ -20,9 +20,11 @@ TEST_FLAGS += -test.run=TestLightningNetworkDaemon/$(icase)
|
|||||||
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.
|
# test command. If not, we set 20m (up from the default 10m).
|
||||||
ifneq ($(timeout),)
|
ifneq ($(timeout),)
|
||||||
TEST_FLAGS += -test.timeout=$(timeout)
|
TEST_FLAGS += -test.timeout=$(timeout)
|
||||||
|
else
|
||||||
|
TEST_FLAGS += -test.timeout=20m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# UNIT_TARGTED is undefined iff a specific package and/or unit test case is
|
# UNIT_TARGTED is undefined iff a specific package and/or unit test case is
|
||||||
|
Loading…
Reference in New Issue
Block a user