Skip to content

Commit

Permalink
pytest: allow additional gossip filters
Browse files Browse the repository at this point in the history
in test_gossip_force_broadcast_channel_msgs now that the seeker
is asking for periodic full gossip syncs.
  • Loading branch information
endothermicdev authored and rustyrussell committed Nov 21, 2024
1 parent 84b0dac commit ead5dbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_gossip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2287,13 +2287,14 @@ def test_gossip_force_broadcast_channel_msgs(node_factory, bitcoind):
assert tally['query_short_channel_ids'] <= 1
assert tally['query_channel_range'] <= 1
assert tally['ping'] <= 1
assert tally['gossip_filter'] >= 1
del tally['query_short_channel_ids']
del tally['query_channel_range']
del tally['ping']
del tally['gossip_filter']
assert tally == {'channel_announce': 1,
'channel_update': 1,
'node_announce': 1,
'gossip_filter': 1}
'node_announce': 1}

# Make sure l1 sees l2's channel update
wait_for(lambda: len(l1.rpc.listchannels()['channels']) == 2)
Expand Down

0 comments on commit ead5dbf

Please sign in to comment.