]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Mark the test_named_shutdown[rndc] test as xfail
authorTom Krizek <tkrizek@isc.org>
Mon, 26 Jun 2023 13:22:32 +0000 (15:22 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 4 Jul 2023 10:58:16 +0000 (12:58 +0200)
It is currently affected by #4060, making the unstable as it
occassionally fails.

bin/tests/system/shutdown/tests_shutdown.py

index fffc2d19069ff3afe91311c0252ff76566d6ad3e..2e2bee6c4781e82bf043017b6d5c520aa282c28b 100755 (executable)
@@ -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")