2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

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.
This commit is contained in:
Nicki Křížek 2025-07-02 17:57:14 +02:00
parent ae932eefc5
commit 66f6f4bba9
3 changed files with 2 additions and 6 deletions

View 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"

View File

@ -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)

View File

@ -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)