From: Nicki Křížek Date: Thu, 29 Jan 2026 10:42:37 +0000 (+0100) Subject: Allow re-run of kasp test case on all FreeBSDs X-Git-Tag: v9.21.19~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4abb5bd070c040320cc23126c5cd9e4c726c72c;p=thirdparty%2Fbind9.git Allow re-run of kasp test case on all FreeBSDs 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. --- diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py index df3b1e540bc..3eec519c756 100644 --- a/bin/tests/system/isctest/mark.py +++ b/bin/tests/system/isctest/mark.py @@ -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") diff --git a/bin/tests/system/kasp/tests_kasp.py b/bin/tests/system/kasp/tests_kasp.py index 60dd34c8002..f1e0dade784 100644 --- a/bin/tests/system/kasp/tests_kasp.py +++ b/bin/tests/system/kasp/tests_kasp.py @@ -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(