Module: Buildkite::TestCollector::Network::HTTPPatch

Defined in:
lib/buildkite/test_collector/network.rb

Instance Method Summary collapse

Instance Method Details

#perform(request, options) ⇒ Object



34
35
36
37
38
39
40
41
42
43
# File 'lib/buildkite/test_collector/network.rb', line 34

def perform(request, options)
  detail = { method: request.verb.to_s.upcase, url: request.uri.to_s, lib: "http" }

  http_tracer = Buildkite::TestCollector::Uploader.tracer
  http_tracer&.enter("http", **detail)

  super
ensure
  http_tracer&.leave
end