mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-04 11:08:03 +01:00
pyln-testing: increase default daemon.wait() timeout.
Valgrind in CI is slow: ``` def test_bitcoin_failure(node_factory, bitcoind): ... # Ignore BROKEN log message about blocksonly mode. l2 = node_factory.get_node(start=False, expect_fail=True, allow_broken_log=True) l2.daemon.start(wait_for_initialized=False) # Will exit with failure code. > assert l2.daemon.wait() == 1 tests/test_misc.py:114: ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
d2952576cd
commit
61d8eb5fa8
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ class LightningD(TailableProc):
|
||||||
self.wait_for_log("Server started with public key")
|
self.wait_for_log("Server started with public key")
|
||||||
logging.info("LightningD started")
|
logging.info("LightningD started")
|
||||||
|
|
||||||
def wait(self, timeout=10):
|
def wait(self, timeout=TIMEOUT):
|
||||||
"""Wait for the daemon to stop for up to timeout seconds
|
"""Wait for the daemon to stop for up to timeout seconds
|
||||||
|
|
||||||
Returns the returncode of the process, None if the process did
|
Returns the returncode of the process, None if the process did
|
||||||
|
|
Loading…
Add table
Reference in a new issue