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

16 commits

Author SHA1 Message Date
MSP-Greg
3066498c16 fix test/test_unix_socket.rb (#1870)
Fix to work reliably on platforms without UNIXSockets
2019-07-29 18:16:09 -07:00
Nate Berkopec
9f4edf4c66
Cleanup tests, parallelize a few (#1850)
+ Some tests getting frozen_string_literal
+ Remove unneccessary bundler setup
+ Fewer/tighter sleeps
2019-07-27 09:47:19 -07:00
MSP-Greg
e04c030ac7 Update test skips, use next_port 2019-02-20 14:15:55 -06:00
MSP-Greg
6a7112d51b Update test files
1. Update skip handling
2. Stability changes
3. Add Ruby & OpenSSL version info output
4. Bypassed SSL tests on DISABLE_SSL ?
2018-09-11 16:31:54 -05:00
Michael Grosser
9d93a0f62f make test_helper no longer be loaded as a test (#1283)
running `rake` loads all files starting with `test_` which is not supposed to also load the helper,
since the helper should be loaded by each test and is not a test itself.
2017-05-12 12:16:55 -07:00
Michael Grosser
d25ef26465 warn when bundler fails and avoid having to use -I to run tests (#1270) 2017-04-11 14:48:11 -07:00
Francesco Rodriguez
cc4e8105dc Use Puma env detection helpers in tests. (#1156)
* Use Puma env detection helpers in tests.

* Check only once if environment is windows.

Same as #jruby?
2016-11-22 17:27:30 -07:00
Francesco Rodriguez
b638dd1948 Use Minitest instead of Test::Unit (#1152)
* Bump minitest version.

* Add basic test helper file.

* Use minitest for web server tests.

* Use Minitest for unix socket tests.

* Use Minitest for ThreadPool tests.

* Use Minitest for TCP-Rack tests

* Use Minitest for TCPLogger tests.

* Add missing helper to test helpers.

* Use Minitest for Rack server tests.

* Use Minitest for Rack handler tests.

* Use Minitest for Puma::Server tests.

* Use Minitest for Puma::Server with SSL tests.

* Use Minitest for persisten connections tests.

* Require puma in test_helper file.

* Use minitest for Puma::NullIO tests.

* Remove unnecessary requires on test files.

* Use Minitest for MiniSSL tests.

* Use Minitest for IOBuffer tests.

* Require bundler/setup in Rakefile.

* Use Minitest for HttpParser tests.

* Use Minitest for Puma::Configuration tests.

* Use Minitest for Puma::CLI tests.

* Bump Minitest version for Ruby 2.1 Gemfile.

* Use Minitest for integration tests.

* Use Minitest for Puma::App::Status tests.

* Remove test-unit from Gemfiles.

* Add timeout helper to Minitest::Test.

* Use Minitest for Puma::Binder tests.

* Remove testhelp file.

* Add missing require to Puma::Binder tests.

* Prefer require instead of require_relative.
2016-11-22 08:05:49 -07:00
iaintshine
be9b5e978b Proper 'Connection' header handling compatible with HTTP 1.0 and HTTP 1.1 protocols 2015-02-19 14:43:17 +01:00
Evan Phoenix
faeceed625 File.exists? => File.exist? 2014-01-25 14:50:40 -08:00
Luis Lavena
af609a1f90 Exclude UNIXSocket tests under Windows 2012-01-08 16:55:57 -03:00
Charles Oliver Nutter
d692475955 First pass updating JRuby bits for Puma.
* Rename Mongrel to Puma and move files appropriately
* Add HttParser11#body method
* Fix native.rake to not attempt C ext under JRuby
* Mask out all of test_unix_socket.rb under JRuby
2011-11-22 13:43:54 -06:00
Evan Phoenix
ca48a5656c Fix test for change in how HTTP/1.0 is handled 2011-10-03 14:47:19 -07:00
Evan Phoenix
997c186406 Add persistence and chunked transfer support 2011-09-30 10:30:37 -05:00
Evan Phoenix
b2a7d84aa2 Add min:max thread settings 2011-09-27 16:33:17 -05:00
Evan Phoenix
597218e59d Add unix socket support 2011-09-27 10:53:45 -07:00