Skip to content

Commit bcf5417

Browse files
fix
1 parent bf06671 commit bcf5417

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/web/server/tests/unit/isolated/test_tracing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ def mock_webserver_service_environment(
1818
monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict
1919
) -> EnvVarsDict:
2020

21-
return mock_webserver_service_environment | setenvs_from_dict(
21+
envs = mock_webserver_service_environment | setenvs_from_dict(
2222
monkeypatch,
2323
{
2424
"TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT": "http://opentelemetry-collector",
2525
"TRACING_OPENTELEMETRY_COLLECTOR_PORT": "4318",
2626
},
2727
)
28+
envs.pop("WEBSERVER_TRACING")
29+
return envs
2830

2931

3032
def test_middleware_restrictions_opentelemetry_is_second_middleware(

0 commit comments

Comments
 (0)