Browse Source

Loosen` close` timeout in `test_closing_different_fees`

ppa-0.6.1
ZmnSCPxj, ZmnSCPxj jxPCSmnZ 7 years ago
committed by Rusty Russell
parent
commit
d6bf7930b8
  1. 10
      tests/test_lightningd.py

10
tests/test_lightningd.py

@ -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…
Cancel
Save