]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Allow reruns for test_json and test_xml tests
authorNicki Křížek <nicki@isc.org>
Wed, 2 Jul 2025 15:57:14 +0000 (17:57 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 7 Jul 2025 11:29:02 +0000 (13:29 +0200)
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.

bin/tests/system/isctest/mark.py
bin/tests/system/statschannel/tests_json.py
bin/tests/system/statschannel/tests_xml.py

index 1a2e36f5b882d6a456c98a47f932820d08aa0b73..b4617ced81d72c0ad930a48fe1c729984ee85d76 100644 (file)
@@ -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"
index ddd6d6210a2c753197a41f1579036aa4e494717b..4b650b3145c456823cf62aa6e7b131e95ddc1ede 100755 (executable)
@@ -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)
index 4271636101cddd125e112d1ad9884737a713cc3c..22e03871a684c050bdafb08de6c67e66b110fac1 100755 (executable)
@@ -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)