]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow re-runs of qmin system test
authorTom Krizek <tkrizek@isc.org>
Tue, 22 Aug 2023 16:39:51 +0000 (18:39 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 23 Aug 2023 12:06:20 +0000 (14:06 +0200)
The qmin test is inherently unstable. It fails quite often with failure
modes described in GL #904. Allow the pytest runner to re-run the test
up to 3 times to only detect a more persistent and reproducible failures
rather than random noise caused by the nature of the test.

bin/tests/system/qmin/tests_sh_qmin.py

index 2566c78e0f1fcaf14de04b8ab80e01c106c45845..607732232e28a73289e84e09950c1f6d87113295 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 qmin test is inherently unstable, see GL #904 for details.
+@pytest_custom_markers.flaky(max_runs=3)
 def test_qmin(run_tests_sh):
     run_tests_sh()