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.
This commit is contained in:
Nicki Křížek 2026-01-29 11:42:37 +01:00
parent d237048de2
commit e4abb5bd07
2 changed files with 5 additions and 1 deletions

View 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")

View 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(