mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
pytest: allow additional gossip filters
in test_gossip_force_broadcast_channel_msgs now that the seeker is asking for periodic full gossip syncs.
This commit is contained in:
parent
84b0dace31
commit
ead5dbf6a2
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue