Skip to content

Commit e373bff

Browse files
author
Andrei Neagu
committed
disable opentelemetry setup
1 parent d77635c commit e373bff

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

services/autoscaling/tests/unit/conftest.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def app_environment(
226226
"AUTOSCALING_EC2_SECRET_ACCESS_KEY": faker.pystr(),
227227
"AUTOSCALING_EC2_INSTANCES": "{}",
228228
"AUTOSCALING_SSM_ACCESS": "{}",
229-
"AUTOSCALING_TRACING": "{}",
229+
"AUTOSCALING_TRACING": "null",
230230
"SSM_ACCESS_KEY_ID": faker.pystr(),
231231
"SSM_SECRET_ACCESS_KEY": faker.pystr(),
232232
"EC2_INSTANCES_KEY_NAME": faker.pystr(),
@@ -367,13 +367,6 @@ def disabled_ec2(app_environment: EnvVarsDict, monkeypatch: pytest.MonkeyPatch)
367367
monkeypatch.setenv("AUTOSCALING_EC2_ACCESS", "null")
368368

369369

370-
@pytest.fixture
371-
def disabled_opentelemetry(
372-
app_environment: EnvVarsDict, monkeypatch: pytest.MonkeyPatch
373-
) -> None:
374-
monkeypatch.setenv("AUTOSCALING_TRACING", "null")
375-
376-
377370
@pytest.fixture
378371
def disabled_ssm(app_environment: EnvVarsDict, monkeypatch: pytest.MonkeyPatch) -> None:
379372
monkeypatch.setenv("AUTOSCALING_SSM_ACCESS", "null")

services/autoscaling/tests/unit/test_modules_auto_scaling_computational.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def minimal_configuration(
7979
local_dask_scheduler_server_envs: EnvVarsDict,
8080
mocked_ec2_instances_envs: EnvVarsDict,
8181
disabled_rabbitmq: None,
82-
disabled_opentelemetry: None,
8382
disable_dynamic_service_background_task: None,
8483
disable_buffers_pool_background_task: None,
8584
mocked_redis_server: None,

0 commit comments

Comments
 (0)