Skip to content

Commit f3bf668

Browse files
author
Andrei Neagu
committed
disable opentelementry for testing stacks
1 parent 17798cc commit f3bf668

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/pytest-simcore/src/pytest_simcore/docker_compose.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ def env_file_for_testing(
118118
file=fh,
119119
)
120120
for key, value in sorted(testing_environ_vars.items()):
121+
# ensure OpenTelemetry is not enabled
122+
if key.startswith("TRACING_") or key.endswith("_TRACING"):
123+
continue
124+
121125
# NOTE: python-dotenv parses JSON encoded strings correctly, but
122126
# writing them back shows an issue. if the original ENV is something like MY_ENV='{"correct": "encodedjson"}'
123127
# it goes to MY_ENV={"incorrect": "encodedjson"}!

0 commit comments

Comments
 (0)