]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow the fetchlimit test to be re-run
authorTom Krizek <tkrizek@isc.org>
Fri, 22 Dec 2023 14:58:27 +0000 (15:58 +0100)
committerTom Krizek <tkrizek@isc.org>
Wed, 10 Jan 2024 13:57:20 +0000 (14:57 +0100)
The test is known to be unstable due to timing issues. Prevent frequent
false positives by allowing the test to be re-run by the flaky pytest
plugin.

bin/tests/system/fetchlimit/tests_sh_fetchlimit.py

index 6df4441b91391a4f0abca94058b1d579ed9a2fb1..04d3e3bf3969ec383f21eb2e34cddeefb4165b82 100644 (file)
@@ -9,6 +9,9 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+import isctest.mark
 
+
+@isctest.mark.flaky(max_runs=2)
 def test_fetchlimit(run_tests_sh):
     run_tests_sh()