Skip to content

Commit

Permalink
remove setting ALWAYS_ON from test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
yoheyk committed Apr 10, 2024
1 parent 23e2e86 commit 96ac5f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sdk/test/opentelemetry/sdk/trace/tracer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@
end

it 'yields a no-op span within an untraced block' do
tracer_provider.sampler = Samplers::ALWAYS_ON
tracer.in_span('root') do
OpenTelemetry::Common::Utilities.untraced do
tracer.in_span('op') do |span|
Expand All @@ -344,7 +343,6 @@
end

it 'does not log "Calling finish on an ended Span" warnings' do
tracer_provider.sampler = Samplers::ALWAYS_ON
OpenTelemetry::TestHelpers.with_test_logger do |log_stream|
tracer.in_span('root') do
OpenTelemetry::Common::Utilities.untraced { tracer.in_span('op') {} }
Expand Down

0 comments on commit 96ac5f6

Please sign in to comment.