From 05ae41d7f38b8e7a1e18003aec7c25918518a210 Mon Sep 17 00:00:00 2001 From: ADOT Patch workflow Date: Tue, 6 Feb 2024 14:15:38 -0800 Subject: [PATCH] Fix based on Comment --- .../amazon/opentelemetry/distro/test_aws_tracer_configurer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_tracer_configurer.py b/aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_tracer_configurer.py index 8742edf5d..fe08a755a 100644 --- a/aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_tracer_configurer.py +++ b/aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/test_aws_tracer_configurer.py @@ -13,6 +13,8 @@ from opentelemetry.sdk.trace.export.in_memory_span_exporter import InMemorySpanExporter from opentelemetry.trace import get_tracer_provider +from amazon.opentelemetry.distro.aws_opentelemetry_distro import AwsOpenTelemetryDistro + class TestAwsTracerConfigurer(TestCase): def setUp(self): @@ -26,6 +28,8 @@ def setUp(self): self.aws_otel_configurator: AwsOpenTelemetryConfigurator = AwsOpenTelemetryConfigurator() self.aws_otel_configurator.configure() self.tracer_provider: TracerProvider = get_tracer_provider() + self.aws_open_telemetry_distro: AwsOpenTelemetryDistro = AwsOpenTelemetryDistro() + self.aws_open_telemetry_distro.configure() def test_provide_generate_xray_ids(self): for _ in range(20):