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 <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user