Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

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 gkrizek committed Apr 26, 2023
1 parent df3b335 commit c07923d
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 c07923d

Please sign in to comment.