From 7132f6b9982441ef44d442907e837fb70c522aad Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Wed, 10 Jan 2024 11:02:55 +0100 Subject: [PATCH] Allow statistics test rerun This test has been unstable for a long while, especially the check "statistics:verifying active sockets output in named.stats". Allow the statistics test to be re-run to avoid frequent false positives. --- bin/tests/system/statistics/tests_sh_statistics.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tests/system/statistics/tests_sh_statistics.py b/bin/tests/system/statistics/tests_sh_statistics.py index d87688f0dc..ffdf16b688 100644 --- a/bin/tests/system/statistics/tests_sh_statistics.py +++ b/bin/tests/system/statistics/tests_sh_statistics.py @@ -9,6 +9,9 @@ # See the COPYRIGHT file distributed with this work for additional # information regarding copyright ownership. +import pytest_custom_markers + +@pytest_custom_markers.flaky(max_runs=2) # GL#1621 def test_statistics(run_tests_sh): run_tests_sh()