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

bin/tests/system/rrl/tests_sh_rrl.py

index 6c8edc55c2cd6d768113a7c054ea2d6c599c1744..05b43a6fe1889387b25b28698db685f744186335 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 rrl is known to be quite unstable. GL #172
+@pytest_custom_markers.flaky(max_runs=2)
 def test_rrl(run_tests_sh):
     run_tests_sh()