Skip to content

Commit b553b62

Browse files
committed
squash: preserve old behaviro
1 parent 2bf81b5 commit b553b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/ethon/test/opentelemetry/instrumentation/ethon/old/instrumentation_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def stub_response(options)
141141
stub_response(response_code: 0, return_code: :operation_timedout) do
142142
_(span.name).must_equal 'HTTP N/A'
143143
_(span.attributes['http.method']).must_equal '_OTHER'
144-
_(span.attributes['http.status_code']).must_equal 0
144+
_(span.attributes['http.status_code']).must_be_nil
145145
_(span.attributes['http.url']).must_equal 'http://example.com/test'
146146
_(span.status.code).must_equal(
147147
OpenTelemetry::Trace::Status::ERROR

0 commit comments

Comments
 (0)