Gates dlzexternal and dyndb, which are skipped under ThreadSanitizer.
Assisted-by: Claude:claude-opus-4-8
+++ /dev/null
-#!/bin/sh
-
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# SPDX-License-Identifier: MPL-2.0
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, you can obtain one at https://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-. ../conf.sh
-
-$FEATURETEST --tsan && {
- echo_i "TSAN - skipping dlzexternal test"
- exit 255
-}
-
-exit 0
import pytest
-pytestmark = pytest.mark.extra_artifacts(
+import isctest.mark
+
+EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
[
"dig.out.*",
"ns1/ddns.key",
]
)
+pytestmark = [
+ isctest.mark.without_tsan,
+ EXTRA_ARTIFACTS,
+]
+
def test_dlzexternal(run_tests_sh):
run_tests_sh()
+++ /dev/null
-#!/bin/sh
-
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# SPDX-License-Identifier: MPL-2.0
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, you can obtain one at https://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-. ../conf.sh
-
-$FEATURETEST --tsan && {
- echo_i "TSAN - skipping dyndb test"
- exit 255
-}
-
-exit 0
import pytest
-pytestmark = pytest.mark.extra_artifacts(
+import isctest.mark
+
+EXTRA_ARTIFACTS = pytest.mark.extra_artifacts(
[
"added.*",
"deleted.*",
]
)
+pytestmark = [
+ isctest.mark.without_tsan,
+ EXTRA_ARTIFACTS,
+]
+
def test_dyndb(run_tests_sh):
run_tests_sh()
os.getenv("FEATURE_GEOIP2") != "1", reason="GeoIP2 support disabled in the build"
)
+without_tsan = pytest.mark.skipif(
+ os.getenv("FEATURE_TSAN") == "1", reason="incompatible with ThreadSanitizer (TSAN)"
+)
+
softhsm2_environment = pytest.mark.skipif(
not (
os.getenv("SOFTHSM2_CONF")