From: Nicki Křížek Date: Wed, 2 Jul 2025 15:57:14 +0000 (+0200) Subject: Allow reruns for test_json and test_xml tests X-Git-Tag: v9.21.11~67^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66f6f4bba99ca5975253c536bb46eae1188a28db;p=thirdparty%2Fbind9.git Allow reruns for test_json and test_xml tests These tests have been unstable under TSAN in the past, but it appears that the same failure mode can happen outside of TSAN tests as well. These tests have produced 12 failures combined in the past three weeks in nightlies. --- diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py index 1a2e36f5b88..b4617ced81d 100644 --- a/bin/tests/system/isctest/mark.py +++ b/bin/tests/system/isctest/mark.py @@ -39,10 +39,6 @@ def feature_test(feature): return True -def with_tsan(*args): # pylint: disable=unused-argument - return feature_test("--tsan") - - def with_algorithm(name: str): key = f"{name}_SUPPORTED" assert key in os.environ, f"{key} env variable undefined" diff --git a/bin/tests/system/statschannel/tests_json.py b/bin/tests/system/statschannel/tests_json.py index ddd6d6210a2..4b650b3145c 100755 --- a/bin/tests/system/statschannel/tests_json.py +++ b/bin/tests/system/statschannel/tests_json.py @@ -119,6 +119,6 @@ def test_zone_with_many_keys_json(statsport): ) -@isctest.mark.flaky(max_runs=2, rerun_filter=isctest.mark.with_tsan) +@isctest.mark.flaky(max_runs=2) def test_traffic_json(statsport): generic.test_traffic(fetch_traffic_json, statsip="10.53.0.2", statsport=statsport) diff --git a/bin/tests/system/statschannel/tests_xml.py b/bin/tests/system/statschannel/tests_xml.py index 4271636101c..22e03871a68 100755 --- a/bin/tests/system/statschannel/tests_xml.py +++ b/bin/tests/system/statschannel/tests_xml.py @@ -148,6 +148,6 @@ def test_zone_with_many_keys_xml(statsport): ) -@isctest.mark.flaky(max_runs=2, rerun_filter=isctest.mark.with_tsan) +@isctest.mark.flaky(max_runs=2) def test_traffic_xml(statsport): generic.test_traffic(fetch_traffic_xml, statsip="10.53.0.2", statsport=statsport)