mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-19 21:14:38 +01:00
pytest: increase timeout for test_payment_failed_persistence
This happened under travis. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
97118c558e
commit
b1182702ae
@@ -4218,7 +4218,7 @@ class LightningDTests(BaseLightningDTests):
|
||||
self.fund_channel(l1, l2, 100000)
|
||||
|
||||
# Expires almost immediately, so it will fail.
|
||||
inv1 = l2.rpc.invoice(1000, 'inv1', 'inv1', 2)
|
||||
inv1 = l2.rpc.invoice(1000, 'inv1', 'inv1', 5)
|
||||
|
||||
# Fire off a pay request, it'll get interrupted by a restart
|
||||
self.executor.submit(l1.rpc.pay, inv1['bolt11'])
|
||||
@@ -4233,7 +4233,7 @@ class LightningDTests(BaseLightningDTests):
|
||||
del l1.daemon.opts['dev-disconnect']
|
||||
|
||||
# Make sure invoice has expired.
|
||||
time.sleep(3)
|
||||
time.sleep(5 + 1)
|
||||
|
||||
# Should reconnect, and fail the payment
|
||||
l1.start()
|
||||
|
||||
Reference in New Issue
Block a user