From 21c2c0f950c47d5e47786276156b946700ea9464 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 19 Feb 2026 12:50:21 +1030 Subject: [PATCH] pytest: fix flake in test_gossip_force_broadcast_channel_msgs With the extra padding pings, we can get more! ``` # Make sure the noise is within reasonable bounds assert tally['query_short_channel_ids'] <= 1 assert tally['query_channel_range'] <= 1 > assert tally['ping'] <= 3 E assert 4 <= 3 tests/test_gossip.py:2396: AssertionError ``` Signed-off-by: Rusty Russell --- tests/test_gossip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_gossip.py b/tests/test_gossip.py index b4c373da0..e0b1ed9b0 100644 --- a/tests/test_gossip.py +++ b/tests/test_gossip.py @@ -2393,7 +2393,7 @@ def test_gossip_force_broadcast_channel_msgs(node_factory, bitcoind): # Make sure the noise is within reasonable bounds assert tally['query_short_channel_ids'] <= 1 assert tally['query_channel_range'] <= 1 - assert tally['ping'] <= 3 + assert tally['ping'] <= 5 assert tally['gossip_filter'] >= 1 del tally['query_short_channel_ids'] del tally['query_channel_range']