From: Tom Krizek Date: Fri, 22 Dec 2023 14:58:27 +0000 (+0100) Subject: Allow the fetchlimit test to be re-run X-Git-Tag: v9.19.22~89^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10827fe96c0842083f2262014241fc399d3b5b36;p=thirdparty%2Fbind9.git Allow the fetchlimit test to be re-run 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. --- diff --git a/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py b/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py index 6df4441b913..04d3e3bf396 100644 --- a/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py +++ b/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py @@ -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()