]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow re-run of kasp test case on all FreeBSDs
authorNicki Křížek <nicki@isc.org>
Thu, 29 Jan 2026 10:42:37 +0000 (11:42 +0100)
committerNicki Křížek <nicki@isc.org>
Fri, 6 Feb 2026 12:22:11 +0000 (13:22 +0100)
Previously, the issue when the kasp.test_kasp_case[secondary.kasp] fails
due to a timeout has been only ocassionally observed on FreeBSD 13
in our CI. It seems to have come back on FreeBSD 15.

bin/tests/system/isctest/mark.py
bin/tests/system/kasp/tests_kasp.py

index df3b1e540bc962aeb8781157c60cb3cdbc314d00..3eec519c756e11f0a74e278f6d7ee06b0c5d41a0 100644 (file)
@@ -39,6 +39,10 @@ extended_ds_digest = pytest.mark.skipif(
 )
 
 
+def is_host_freebsd(*_):
+    return platform.system() == "FreeBSD"
+
+
 def is_host_freebsd_13(*_):
     return platform.system() == "FreeBSD" and platform.release().startswith("13")
 
index 60dd34c8002bab422aafe798dfbb7be69d5961fc..f1e0dade784dc9aeea6f1ed9f015c036a351b4a7 100644 (file)
@@ -597,7 +597,7 @@ def cb_remove_keyfiles(params, ksks=None, zsks=None):
             },
             id="secondary.kasp",
             marks=pytest.mark.flaky(
-                max_runs=2, rerun_filter=isctest.mark.is_host_freebsd_13
+                max_runs=2, rerun_filter=isctest.mark.is_host_freebsd
             ),
         ),
         pytest.param(