mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
Loosen close
timeout in test_closing_different_fees
This commit is contained in:
parent
0b331a2b60
commit
d6bf7930b8
@ -1333,10 +1333,16 @@ class LightningDTests(BaseLightningDTests):
|
||||
self.pay(l1, p, 100000000)
|
||||
|
||||
# Now close
|
||||
closes = [self.executor.submit(l1.rpc.close, p.info['id']) for p in peers]
|
||||
# All closes occur in parallel, and on Travis,
|
||||
# ALL those lightningd are running on a single core,
|
||||
# so increase the timeout so that this test will pass
|
||||
# when valgrind is enabled.
|
||||
# (close timeout defaults to 30 as of this writing, more
|
||||
# than double the default)
|
||||
closes = [self.executor.submit(l1.rpc.close, p.info['id'], False, 72) for p in peers]
|
||||
|
||||
for c in closes:
|
||||
c.result(30)
|
||||
c.result(72)
|
||||
|
||||
bitcoind.generate_block(1)
|
||||
for p in peers:
|
||||
|
Loading…
Reference in New Issue
Block a user