mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
pytest: fix flake in test_reconnect_no_update
If l2 didn't get FUNDING_LOCKED from l1 before it disconnected, it won't be in state CHANNELD_NORMAL: it will be in DUALOPEND_AWAITING_LOCKIN. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0f2009c7a3
commit
e141b71675
@ -542,7 +542,6 @@ def test_reconnect_no_update(node_factory, executor, bitcoind):
|
||||
# automatic retry.
|
||||
fundchannel_exec = executor.submit(l1.fundchannel, l2, 10**6, False)
|
||||
if l1.config('experimental-dual-fund'):
|
||||
l2.daemon.wait_for_log(r"Peer has reconnected, state CHANNELD_NORMAL")
|
||||
l1.daemon.wait_for_log(r"dualopend.* Retransmitting funding_locked for channel")
|
||||
else:
|
||||
l1.daemon.wait_for_log(r"channeld.* Retransmitting funding_locked for channel")
|
||||
|
Loading…
Reference in New Issue
Block a user