mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
pytest: fix flake in test_v2_open_sigs_restart_while_dead
We didn't wait for the sendtx to complete before shutting down,
and hence timed out:
```
l2.daemon.wait_for_log('Broadcasting funding tx')
l1.stop()
l2.stop()
bitcoind.generate_block(6)
l1.restart()
l2.restart()
# Make sure we're ok.
> l2.daemon.wait_for_log(r'to CHANNELD_NORMAL')
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
402f7f90c0
commit
8cef2c17ad
@@ -187,6 +187,7 @@ def test_v2_open_sigs_restart_while_dead(node_factory, bitcoind):
|
||||
l1.rpc.openchannel_signed(chan_id, psbt)
|
||||
|
||||
l2.daemon.wait_for_log('Broadcasting funding tx')
|
||||
l2.daemon.wait_for_log('sendrawtx exit 0')
|
||||
|
||||
l1.stop()
|
||||
l2.stop()
|
||||
|
||||
Reference in New Issue
Block a user