]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow re-run of mkeys system test
authorNicki Křížek <nicki@isc.org>
Thu, 7 Nov 2024 15:15:54 +0000 (16:15 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 25 Nov 2024 13:56:17 +0000 (14:56 +0100)
On some slow systems, the test might intermittently fail due to inherent
timing issues. In our CI, this most often happens in the
system:gcc:8fips:amd64 jobs.

bin/tests/system/mkeys/tests_sh_mkeys.py

index b04d7884763768f2d860fde8a69cbdab300edbb3..5a35021790998e7b7e65f2fa927ead8e5706b553 100644 (file)
@@ -11,6 +11,8 @@
 
 import pytest
 
+import isctest.mark
+
 pytestmark = [
     pytest.mark.algorithm_set("ecc_default"),
     pytest.mark.extra_artifacts(
@@ -49,5 +51,6 @@ pytestmark = [
 ]
 
 
+@isctest.mark.flaky(max_runs=2)  # GL#3098
 def test_mkeys(run_tests_sh):
     run_tests_sh()