Skip to content

Commit 4f71d4b

Browse files
committed
update determine_semconv test
1 parent db05759 commit 4f71d4b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

instrumentation/http/test/instrumentation/http/instrumentation_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@
4242
describe 'determine_semconv' do
4343
it 'returns "dup" when OTEL_SEMCONV_STABILITY_OPT_IN includes other configs' do
4444
OpenTelemetry::TestHelpers.with_env('OTEL_SEMCONV_STABILITY_OPT_IN' => 'http/dup, database') do
45-
_(determine_semconv).must_equal('dup')
45+
_(instrumentation.determine_semconv).must_equal('dup')
4646
end
4747
end
4848

4949
it 'returns "dup" when OTEL_SEMCONV_STABILITY_OPT_IN includes both http/dup and http' do
5050
OpenTelemetry::TestHelpers.with_env('OTEL_SEMCONV_STABILITY_OPT_IN' => 'http/dup, http') do
51-
_(determine_semconv).must_equal('dup')
51+
_(instrumentation.determine_semconv).must_equal('dup')
5252
end
5353
end
5454

5555
it 'returns "stable" when OTEL_SEMCONV_STABILITY_OPT_IN is http' do
5656
OpenTelemetry::TestHelpers.with_env('OTEL_SEMCONV_STABILITY_OPT_IN' => 'http') do
57-
_(determine_semconv).must_equal('stable')
57+
_(instrumentation.determine_semconv).must_equal('stable')
5858
end
5959
end
6060

6161
it 'returns "old" when OTEL_SEMCONV_STABILITY_OPT_IN is empty' do
6262
OpenTelemetry::TestHelpers.with_env('OTEL_SEMCONV_STABILITY_OPT_IN' => '') do
63-
_(determine_semconv).must_equal('old')
63+
_(instrumentation.determine_semconv).must_equal('old')
6464
end
6565
end
6666
end

0 commit comments

Comments
 (0)