From: Remi Gacogne Date: Thu, 15 May 2025 08:11:23 +0000 (+0200) Subject: dnsdist: Fix backend discovery regression test on GH action (again) X-Git-Tag: dnsdist-2.0.0-alpha2~13^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2acde9707b248eaba6ea914f64086930478d99c5;p=thirdparty%2Fpdns.git dnsdist: Fix backend discovery regression test on GH action (again) Apparently IPv6 is very flaky on GH actions these days, and I see this test failing again and again because DNSdist cannot reliably reach the servers over IPv6. IPv4 is fine from GH actions, v4 and v6 are fine locally, so let's not fail in that case. --- diff --git a/regression-tests.dnsdist/test_BackendDiscovery.py b/regression-tests.dnsdist/test_BackendDiscovery.py index 8ac54b0faa..ee828f6c49 100644 --- a/regression-tests.dnsdist/test_BackendDiscovery.py +++ b/regression-tests.dnsdist/test_BackendDiscovery.py @@ -453,6 +453,10 @@ class TestBackendDiscoveryByHostname(DNSDistTest): return False for backend in backends: + if str(backend) in ['2620:fe::9]:53', '[2620:fe::fe]:53']: + # IPv6 is very flaky on GH actions these days, + # let's not require these to be up + continue if backends[backend] != 'up': return False