1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
MSP-Greg 6729b532b9
Small test fixes - helpers/tmp_path.rb, helper.rb & test_redirect_io.rb
Currently, helpers/tmp_path.rb uses `#capture_exceptions` to run cleanup code, which is called several times for each test.
Adjusted code in it and test/helpers.rb to run once, after teardown.
This also allows asserts in teardown to work properly, see test_integration_pumactl.rb.

Also, `Tempfile.new` attaches finalizers to each object, which seemed to be intermittently bothering JRuby.
Changed to `Tempfile.create`

test_redirect_io.rb - small fix for setup and teardown.

helper.rb - changed `if ENV['CI']` conditional so that local and cloud CI both use TimeoutEveryTestCase..

Fix RuboCop in Update const.rb
2020-09-09 14:44:02 -05:00
..
app
minissl
plugin
rack
accept_nonblock.rb
binder.rb
cli.rb
client.rb
cluster.rb
commonlogger.rb
configuration.rb
const.rb Small test fixes - helpers/tmp_path.rb, helper.rb & test_redirect_io.rb 2020-09-09 14:44:02 -05:00
control_cli.rb
detect.rb
dsl.rb
error_logger.rb
events.rb
io_buffer.rb
jruby_restart.rb
launcher.rb
minissl.rb
null_io.rb
plugin.rb
rack_default.rb
reactor.rb
runner.rb
server.rb
single.rb
state_file.rb
thread_pool.rb
util.rb