Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Modify test for PR #3118 #3119

Merged
merged 1 commit into from
Apr 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/test_rack_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def app
Proc.new {|env| @input = env; [200, {}, ["hello world"]]}
end

# `Verbose: true` is included for `NameError`,
# see https://github.com/puma/puma/pull/3118
def test_on_booted
on_booted = false
events = Puma::Events.new
Expand All @@ -20,7 +22,7 @@ def test_on_booted

launcher = nil
thread = Thread.new do
Rack::Handler::Puma.run(app, events: events, Silent: true) do |l|
Rack::Handler::Puma.run(app, events: events, Verbose: true, Silent: true) do |l|
launcher = l
end
end
Expand Down