]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Mark the serve_stale system test as flaky
authorNicki Křížek <nicki@isc.org>
Thu, 3 Jul 2025 12:02:57 +0000 (14:02 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 7 Jul 2025 11:29:15 +0000 (13:29 +0200)
The serve_stale test has some inherent instabilities affecting many
different checks. While the failure rate isn't too high (about four
failures in past three weeks of nightlies), it gets ignored, because the
test has been unstable for a very long time.

bin/tests/system/serve-stale/tests_sh_serve_stale.py

index 1c3177c4a49c35e16f7c20420d943c99dcce8f0e..ac3ab100cc158ad8c06ecd6ae8eeff6870c4553f 100644 (file)
@@ -11,6 +11,8 @@
 
 import pytest
 
+import isctest.mark
+
 pytestmark = pytest.mark.extra_artifacts(
     [
         "dig.out.*",
@@ -26,5 +28,6 @@ pytestmark = pytest.mark.extra_artifacts(
 )
 
 
+@isctest.mark.flaky(max_runs=2)
 def test_serve_stale(run_tests_sh):
     run_tests_sh()