diff --git a/tests/test_gossip.py b/tests/test_gossip.py index 5d859630a..c2a7d96c7 100644 --- a/tests/test_gossip.py +++ b/tests/test_gossip.py @@ -2268,7 +2268,8 @@ def test_gossip_not_dying(node_factory, bitcoind): l1.daemon.wait_for_log("closing soon due to the funding outpoint being spent") - # We won't gossip the dead channel any more (but we still propagate node_announcement) + # We won't gossip the dead channel any more (but we still propagate node_announcement). But connectd is not explicitly synced, so wait for "a bit". + time.sleep(1) assert len(get_gossip(l1)) == 2