We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf81b5 commit b553b62Copy full SHA for b553b62
instrumentation/ethon/test/opentelemetry/instrumentation/ethon/old/instrumentation_test.rb
@@ -141,7 +141,7 @@ def stub_response(options)
141
stub_response(response_code: 0, return_code: :operation_timedout) do
142
_(span.name).must_equal 'HTTP N/A'
143
_(span.attributes['http.method']).must_equal '_OTHER'
144
- _(span.attributes['http.status_code']).must_equal 0
+ _(span.attributes['http.status_code']).must_be_nil
145
_(span.attributes['http.url']).must_equal 'http://example.com/test'
146
_(span.status.code).must_equal(
147
OpenTelemetry::Trace::Status::ERROR
0 commit comments