From 2acde9707b248eaba6ea914f64086930478d99c5 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 15 May 2025 10:11:23 +0200 Subject: [PATCH] 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. --- regression-tests.dnsdist/test_BackendDiscovery.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2