From be75518559d41e262d10f4eee830bcfca1907f0b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 23 Mar 2022 09:31:36 +1030 Subject: [PATCH] pytest: fix bad gossip flake in test_multifunding_v1_v2_mixed This was missed in e8d2176e6bb89c9825da24e68bfb43d0a6a408bd. ``` > raise ValueError(str(errors)) E ValueError: E Node errors: E - lightningd-2: had bad gossip messages E - lightningd-3: had bad gossip messages E Global errors: contrib/pyln-testing/pyln/testing/fixtures.py:201: ValueError ... 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: Ignoring future channel_announcment for 105x1x2 (current block 104) 0266e4598d1d3c415f572a8488830b60f7e744ed9235eb0b1ba93283b315c03518-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 105x1x2/0 ``` Signed-off-by: Rusty Russell --- tests/test_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index ede5b8716..4e5eb8be1 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -1681,7 +1681,7 @@ def test_multifunding_v1_v2_mixed(node_factory, bitcoind): "amount": 50000}] l1.rpc.multifundchannel(destinations) - bitcoind.generate_block(6, wait_for_mempool=1) + mine_funding_to_announce(bitcoind, [l1, l2, l3, l4], wait_for_mempool=1) for node in [l1, l2, l3, l4]: node.daemon.wait_for_log(r'to CHANNELD_NORMAL')