]> 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 14:39:11 +0000 (15:39 +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.

(cherry picked from commit a299650a6f1a4cac9c8e8105cb29a5de8a9c21ff)

bin/tests/system/mkeys/tests_sh_mkeys.py

index b78faee6a28f56bd1004254effd4abd6ca1648d8..ed0916d100f525ac2a9030cfef99d5f847577f29 100644 (file)
@@ -11,6 +11,8 @@
 
 import pytest
 
+import isctest.mark
+
 pytestmark = pytest.mark.extra_artifacts(
     [
         "delv.*",
@@ -45,5 +47,6 @@ pytestmark = pytest.mark.extra_artifacts(
 )
 
 
+@isctest.mark.flaky(max_runs=2)  # GL#3098
 def test_mkeys(run_tests_sh):
     run_tests_sh()