Skip to content

Commit

Permalink
Revert rack change
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Nov 6, 2024
1 parent 7bd8d13 commit 53f6d72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/datadog/tracing/contrib/suite/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,7 @@ def build(*dynamic_configurations)
end
end.to_app

if Gem::Version.new(Rack::RELEASE) >= Gem::Version.new('3')
server.mount '/', Rackup::Handler::WEBrick, app
else
server.mount '/', Rack::Handler::WEBrick, app
end
server.mount '/', Rack::Handler::WEBrick, app

@thread = Thread.new { server.start }
try_wait_until { started }
Expand Down

0 comments on commit 53f6d72

Please sign in to comment.