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

Clean up tests [changelog skip] #2387

Merged
merged 1 commit into from Sep 27, 2020
Merged
Show file tree
Hide file tree
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
21 changes: 2 additions & 19 deletions test/test_integration_cluster.rb
Expand Up @@ -222,25 +222,8 @@ def test_nakayoshi
end

def test_prune_bundler_with_multiple_workers
cli_server "", config: <<RUBY
require 'bundler/setup'
Bundler.setup

prune_bundler true

workers 2

app do |env|
[200, {}, ["embedded app"]]
end

lowlevel_error_handler do |err|
[200, {}, ["error page"]]
end
RUBY

connection = connect
reply = read_body(connection)
cli_server "-C test/config/prune_bundler_with_multiple_workers.rb"
reply = read_body(connect)

assert reply, "embedded app"
end
Expand Down
3 changes: 1 addition & 2 deletions test/test_integration_single.rb
Expand Up @@ -47,8 +47,7 @@ def test_prefer_rackup_file_specified_by_cli
skip_unless_signal_exist? :TERM

cli_server "-C test/config/with_rackup_from_dsl.rb test/rackup/hello.ru"
connection = connect
reply = read_body(connection)
reply = read_body(connect)
stop_server

assert_match("Hello World", reply)
Expand Down