mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
test_lightningd: test_closing_torture timeout increase.
I hit this timeout on pytest and valgrind with -n5; use the timeout variable from utils. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f92712f22c
commit
85a062164a
@ -1472,8 +1472,8 @@ class LightningDTests(BaseLightningDTests):
|
||||
c1 = self.executor.submit(l1.rpc.close, l2.info['id'])
|
||||
c2 = self.executor.submit(l2.rpc.close, l1.info['id'])
|
||||
# Wait for close to finish
|
||||
c1.result(10)
|
||||
c2.result(10)
|
||||
c1.result(utils.TIMEOUT)
|
||||
c2.result(utils.TIMEOUT)
|
||||
l1.daemon.wait_for_log('sendrawtx exit 0')
|
||||
# Get close confirmed
|
||||
l1.bitcoin.generate_block(100)
|
||||
|
Loading…
Reference in New Issue
Block a user