summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/coverage_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/coverage_util.py')
-rw-r--r--test/lib/ansible_test/_internal/coverage_util.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/coverage_util.py b/test/lib/ansible_test/_internal/coverage_util.py
index 4a7b9b5a22..43d107181b 100644
--- a/test/lib/ansible_test/_internal/coverage_util.py
+++ b/test/lib/ansible_test/_internal/coverage_util.py
@@ -52,6 +52,10 @@ from .constants import (
CONTROLLER_PYTHON_VERSIONS,
)
+from .thread import (
+ mutex,
+)
+
@dataclasses.dataclass(frozen=True)
class CoverageVersion:
@@ -203,6 +207,7 @@ def get_coverage_environment(
return env
+@mutex
def get_coverage_config(args: TestConfig) -> str:
"""Return the path to the coverage config, creating the config if it does not already exist."""
try: