]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow re-runs of reclimit system test
authorTom Krizek <tkrizek@isc.org>
Tue, 22 Aug 2023 16:46:05 +0000 (18:46 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 23 Aug 2023 12:06:20 +0000 (14:06 +0200)
The reclimit system test has been unstable and producing false positive
results for years (GL #1587). Allow the test to be re-run (once) to
reduce the noise it causes.

bin/tests/system/reclimit/tests_sh_reclimit.py

index 38cfbc6e7a426deccbfba9bc69f4319dea195cb2..4710027581e729db97360b95d34609e365063170 100644 (file)
@@ -9,6 +9,10 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+import pytest_custom_markers
 
+
+# The reclimit is known to be quite unstable. GL #1587
+@pytest_custom_markers.flaky(max_runs=2)
 def test_reclimit(run_tests_sh):
     run_tests_sh()