From 1d1d64ea6a6caf87db0deaa4cec64d17a80f5e01 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 17 May 2021 10:35:50 +0930 Subject: [PATCH] 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 --- tests/test_connection.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index 2070b1f5c9fe..160755ead58e 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -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")