1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test
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
..
bundle_preservation_test Leave BUNDLE_GEMFILE unset in workers if it was unset in the master (#2154) 2020-03-10 11:46:20 -06:00
config Merge pull request #2347 from sudheer-meka/move-integration-tests-to-regular-suite 2020-09-05 16:46:17 -07:00
helpers Small test fixes - helpers/tmp_path.rb, helper.rb & test_redirect_io.rb 2020-09-09 14:44:02 -05:00
minitest Support parallel tests in verbose progress reporting (#2223) 2020-04-20 09:45:43 +09:00
rackup Merge pull request from GHSA-84j7-475p-hp8v 2020-02-27 11:52:27 -06:00
helper.rb Small test fixes - helpers/tmp_path.rb, helper.rb & test_redirect_io.rb 2020-09-09 14:44:02 -05:00
test_app_status.rb Change Puma.stats to return a hash instead of a JSON string (#2086) 2019-12-17 12:38:48 +07:00
test_binder.rb Merge branch 'master' into feature/use-tempfile-for-state-sock-files 2020-09-01 22:21:01 +03:00
test_busy_worker.rb Test files - more port handling 2020-07-22 21:00:03 -05:00
test_cli.rb Merge branch 'master' into feature/use-tempfile-for-state-sock-files 2020-09-01 22:21:01 +03:00
test_config.rb Nitpicks 2020-04-22 08:35:28 +09:00
test_error_logger.rb hotfix 2020-05-17 16:51:30 +03:00
test_events.rb Test files - more port handling 2020-07-22 21:00:03 -05:00
test_http10.rb make test_helper no longer be loaded as a test (#1283) 2017-05-12 12:16:55 -07:00
test_http11.rb Fix typo in maximum URI path length 2020-08-23 11:40:59 +02:00
test_integration_cluster.rb Merge pull request #2318 from MSP-Greg/test-port-0 2020-09-05 16:56:22 -07:00
test_integration_pumactl.rb test_integration_pumactl.rb - adjust test_phased_restart_cluster 2020-09-08 15:24:34 -05:00
test_integration_single.rb added BASE to change based on system 2020-08-27 17:37:00 +05:30
test_iobuffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
test_launcher.rb Add tmp_path manager module 2020-07-12 20:00:29 +03:00
test_minissl.rb make test_helper no longer be loaded as a test (#1283) 2017-05-12 12:16:55 -07:00
test_null_io.rb Cleanup tests, parallelize a few (#1850) 2019-07-27 09:47:19 -07:00
test_out_of_band_server.rb Test files - more port handling 2020-07-22 21:00:03 -05:00
test_persistent.rb Merge pull request #2318 from MSP-Greg/test-port-0 2020-09-05 16:56:22 -07:00
test_plugin.rb PluginRegistry#fire_background - fix up per issue 1972 (#1973) 2019-09-18 15:53:29 +02:00
test_preserve_bundler_env.rb Fix warnings for !HAS_FORK [changelog skip] (#2187) 2020-03-16 09:29:18 -06:00
test_puma_server.rb Merge pull request #2318 from MSP-Greg/test-port-0 2020-09-05 16:56:22 -07:00
test_puma_server_ssl.rb test_puma_server_ssl.rb, ssl.rb - misc updates, fixes for updated certs & JRuby 2020-09-07 23:35:23 -05:00
test_pumactl.rb Do not quite when pumactl unexpectedly exits. 2020-08-07 12:52:31 +02:00
test_rack_handler.rb [changelog skip] Move integration logging test to main test suite (#2240) 2020-04-29 15:06:11 +09:00
test_rack_server.rb Merge pull request #2306 from alexeevit/feature/use-tempfile-for-state-sock-files 2020-09-08 12:49:04 -07:00
test_redirect_io.rb Small test fixes - helpers/tmp_path.rb, helper.rb & test_redirect_io.rb 2020-09-09 14:44:02 -05:00
test_thread_pool.rb Update syntax of unit test. 2020-06-10 23:25:24 +00:00
test_unix_socket.rb Add tmp_path manager module 2020-07-12 20:00:29 +03:00
test_web_server.rb Test files - more port handling 2020-07-22 21:00:03 -05:00