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:
Johan T. Halseth 2018-07-26 21:52:13 +02:00 committed by GitHub
commit 92b0b10dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,9 +20,11 @@ TEST_FLAGS += -test.run=TestLightningNetworkDaemon/$(icase)
endif
# 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),)
TEST_FLAGS += -test.timeout=$(timeout)
else
TEST_FLAGS += -test.timeout=20m
endif
# UNIT_TARGTED is undefined iff a specific package and/or unit test case is