From: Tom Krizek Date: Mon, 26 Jun 2023 13:22:32 +0000 (+0200) Subject: Mark the test_named_shutdown[rndc] test as xfail X-Git-Tag: v9.19.15~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f85f63bf1e044e805b879f5e04437d0f35afb0c;p=thirdparty%2Fbind9.git Mark the test_named_shutdown[rndc] test as xfail It is currently affected by #4060, making the unstable as it occassionally fails. --- diff --git a/bin/tests/system/shutdown/tests_shutdown.py b/bin/tests/system/shutdown/tests_shutdown.py index fffc2d19069..2e2bee6c478 100755 --- a/bin/tests/system/shutdown/tests_shutdown.py +++ b/bin/tests/system/shutdown/tests_shutdown.py @@ -160,10 +160,10 @@ def wait_for_proc_termination(proc, max_timeout=10): # Method 1: using rndc ctop # Method 2: killing with SIGTERM # In both methods named should exit gracefully. -@pytest.mark.parametrize("kill_method", [ - "rndc", - "sigtem" -]) +@pytest.mark.parametrize( + "kill_method", + [pytest.param("rndc", marks=pytest.mark.xfail(reason="GL#4060")), "sigtem"], +) def test_named_shutdown(named_port, control_port, kill_method): # pylint: disable-msg=too-many-locals cfg_dir = os.path.join(os.getcwd(), "resolver")