From a1af755a14e7fa56af5da398ce19209679841ff7 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Fri, 22 Dec 2023 15:58:27 +0100 Subject: [PATCH] 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. (cherry picked from commit 10827fe96c0842083f2262014241fc399d3b5b36) --- bin/tests/system/fetchlimit/tests_sh_fetchlimit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py b/bin/tests/system/fetchlimit/tests_sh_fetchlimit.py index 6df4441b91..04d3e3bf39 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()