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 = """
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 = """
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"