1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

tweak for truffleruby

This commit is contained in:
Jeff Levin 2020-04-19 22:38:46 -08:00
parent 3645f75bfc
commit 6200e52244

View file

@ -335,9 +335,8 @@ class TestConfigEnvVariables < TestConfigFileBase
def test_config_preloads_app_if_using_workers
with_env("WEB_CONCURRENCY" => "2") do
preload = Puma::Plugin.new.workers_supported?
conf = Puma::Configuration.new
assert_equal preload, conf.options.default_options[:preload_app]
assert_equal preload, conf.options.default_options[:preload_app] if ::Process.respond_to?(:fork)
end
end
end