]> 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 (GitLab job 6830046) <nicki@isc.org>
Fri, 6 Feb 2026 13:20:03 +0000 (13:20 +0000)
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.

(cherry picked from commit e4abb5bd070c040320cc23126c5cd9e4c726c72c)

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

index 805371701df179106ad0dfe750fa18e6c8da3631..4d7fcce147b6fc6c1650efb422139de1774ce733 100644 (file)
@@ -43,6 +43,10 @@ def is_dnsrps_available():
     return True
 
 
+def is_host_freebsd(*_):
+    return platform.system() == "FreeBSD"
+
+
 def is_host_freebsd_13(*_):
     return platform.system() == "FreeBSD" and platform.release().startswith("13")
 
index 1a836a230d4dfe4ff85a22fca5acd108c7f519f0..89f2696e5687b29697861f37f664eacb1dbcad05 100644 (file)
@@ -596,7 +596,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(