Skip to content

Commit

Permalink
review @pcrespov
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 9, 2024
1 parent bcf5417 commit 215b3a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/web/server/tests/unit/isolated/test_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@
def mock_webserver_service_environment(
monkeypatch: pytest.MonkeyPatch, mock_webserver_service_environment: EnvVarsDict
) -> EnvVarsDict:

monkeypatch.delenv("WEBSERVER_TRACING")
envs = mock_webserver_service_environment | setenvs_from_dict(
monkeypatch,
{
"TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT": "http://opentelemetry-collector",
"TRACING_OPENTELEMETRY_COLLECTOR_PORT": "4318",
},
)
envs.pop("WEBSERVER_TRACING")
return envs


Expand Down

0 comments on commit 215b3a4

Please sign in to comment.