]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Allow failure for some tests if running on GH, which has bad net often (especially... 17510/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 3 Jun 2026 09:16:35 +0000 (11:16 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 3 Jun 2026 09:16:35 +0000 (11:16 +0200)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
regression-tests.recursor-dnssec/test_ExtendedErrors.py
regression-tests.recursor-dnssec/test_WellKnown.py

index 40151b3fb0b236160716221fa85db4f54c4813ed..746691df5ef20b4a4f772331966c6dca98d90076 100644 (file)
@@ -6,6 +6,7 @@ import pytest
 from recursortests import RecursorTest
 
 
+@pytest.mark.xfail(os.environ.get("GITHUB_ACTIONS") == "true", reason="GH actions have flaky net")
 class ExtendedErrorsTest(RecursorTest):
     _confdir = "ExtendedErrors"
     _config_template = """
@@ -197,6 +198,7 @@ extended-resolution-errors=yes
         self.assertEqual(res.options[0], extendederrors.ExtendedErrorOption(10, b"Extra text from Lua!"))
 
 
+@pytest.mark.xfail(os.environ.get("GITHUB_ACTIONS") == "true", reason="GH actions have flaky net")
 class NoExtendedErrorsTest(RecursorTest):
     _confdir = "NoExtendedErrors"
     _config_template = """
index 10192d136aac42beffb92c46388677236161a1d7..420bda148b13ab3beff31b5e8dddde7fdbfa32b3 100644 (file)
@@ -1,9 +1,11 @@
 import pytest
 import dns
+import os
 from recursortests import RecursorTest
 
 
 @pytest.mark.external
+@pytest.mark.xfail(os.environ.get("GITHUB_ACTIONS") == "true", reason="GH actions have flaky net")
 class WellKnownTest(RecursorTest):
     _auths_zones = None
     _confdir = "WellKnown"