From 3debcde6a193aea2372b9cd3647a4d1d8ff2911e Mon Sep 17 00:00:00 2001 From: Pedro Furtado Date: Wed, 4 Dec 2024 19:02:01 -0300 Subject: [PATCH] fix: revert test --- sdk/test/opentelemetry/sdk_test.rb | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sdk/test/opentelemetry/sdk_test.rb b/sdk/test/opentelemetry/sdk_test.rb index ef37dff04..f0ad46121 100644 --- a/sdk/test/opentelemetry/sdk_test.rb +++ b/sdk/test/opentelemetry/sdk_test.rb @@ -27,19 +27,4 @@ _(received_message).must_match(/unexpected configuration error due to unknown keyword: .*invalid_option/) end end - - describe '#configure (no-op)' do - before do - ENV['OTEL_SDK_DISABLED'] = 'true' - end - - after do - ENV.delete('OTEL_SDK_DISABLED') - end - - it 'logs a warning and generate a no-op tracer if env OTEL_SDK_DISABLED is defined' do - tracer = OpenTelemetry::SDK.configure - _(tracer).must_be_instance_of OpenTelemetry::Internal::ProxyTracer - end - end end