File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
instrumentation/http_client/test/instrumentation/http_client/patches Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change 178178 http = HTTPClient . new
179179 http . request ( :purge , 'http://example.com/cache' )
180180
181- _ ( exporter . finished_spans . size ) . must_equal 1
182181 _ ( span . name ) . must_equal 'HTTP'
183182 # old semantic conventions
184183 _ ( span . attributes [ 'http.method' ] ) . must_equal '_OTHER'
Original file line number Diff line number Diff line change 131131 http = HTTPClient . new
132132 http . request ( :purge , 'http://example.com/cache' )
133133
134- _ ( exporter . finished_spans . size ) . must_equal 1
135134 _ ( span . name ) . must_equal 'HTTP'
136135 _ ( span . attributes [ 'http.method' ] ) . must_equal '_OTHER'
137136 _ ( span . attributes [ 'http.status_code' ] ) . must_equal 200
Original file line number Diff line number Diff line change 149149 http = HTTPClient . new
150150 http . request ( :purge , 'http://example.com/cache' )
151151
152- _ ( exporter . finished_spans . size ) . must_equal 1
153152 _ ( span . name ) . must_equal 'HTTP'
154153 _ ( span . attributes [ 'http.request.method' ] ) . must_equal '_OTHER'
155154 _ ( span . attributes [ 'http.request.method_original' ] ) . must_equal 'PURGE'
You can’t perform that action at this time.
0 commit comments