Skip to content

Commit

Permalink
pytest: allow ipv6 in test_announce_dns_suppressed
Browse files Browse the repository at this point in the history
The test runs fine on CI but can fail locally on IPv6 systems,
as the address descriptor is just checked agains IPv4.

Changelog-None
  • Loading branch information
m-schmoock authored and endothermicdev committed Feb 13, 2023
1 parent 2c7ceb8 commit eea4781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_gossip.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_announce_dns_suppressed(node_factory, bitcoind):

addresses = only_one(l2.rpc.listnodes(l1.info['id'])['nodes'])['addresses']
assert len(addresses) == 1
assert addresses[0]['type'] == 'ipv4'
assert addresses[0]['type'] in ['ipv4', 'ipv6']
assert addresses[0]['address'] != 'example.com'
assert addresses[0]['port'] == 1236

Expand Down

0 comments on commit eea4781

Please sign in to comment.