mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
pytest: fix flaky test in test_htlc_sig_persistence
We can shutdown before the tx hits bitcoind. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ed83bbe623
commit
dd7afc33ee
@@ -3282,6 +3282,8 @@ class LightningDTests(BaseLightningDTests):
|
||||
|
||||
# This should reload the htlc_sig
|
||||
l2.rpc.dev_fail(l1.info['id'])
|
||||
# Make sure it broadcasts to chain.
|
||||
l2.daemon.wait_for_log('sendrawtx exit 0')
|
||||
l2.stop()
|
||||
l1.bitcoin.rpc.generate(1)
|
||||
l1.start()
|
||||
|
||||
Reference in New Issue
Block a user