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

20 commits

Author SHA1 Message Date
Andrew Stuntz
c4f6ac08ee Removes connected_port, implements connected_ports
This work starts the effort of removing connected_port from the specs.

I have moved the code around a bit to get all connected_ports, the tests seem
to pass in the appropriate areas.

I want to verify this path before attempting to remove all UniquePort calls in
the tests.
2019-11-19 10:51:18 -08: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
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
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
Jun Aruga
cc23d01c9b Improve required testhelp.rb path. 2016-09-21 10:39:40 +02:00
schneems
d2b73650a9 Use first available port in tests 2016-02-04 16:55:10 -06:00
Evan Phoenix
537bc21593 Remove rack dependency. Fixes #705
Because frameworks like rails dependent on rack, if puma truly wants to
be able to reload new code and thus new versions of rails, it has to be
able to reload rack as well.

Having a dependency on rack held by puma prevented that from happening
and so that dependency has been removed.
2015-07-14 10:28:59 -07:00
Gianluca Padovani
8d33d334ab test fail on machine with more than one IP 2012-06-22 11:45:26 +02:00
Evan Phoenix
6d0abe5fd7 Keep the encoding of the body correct. Fixes #79 2012-04-28 09:51:08 -07:00
Evan Phoenix
c62f18f33e Fix race conditions in tests, change travis rbx name 2011-11-22 16:32:35 -08:00
Evan Phoenix
220c4aae1c Handle not exposing the next request to the last one 2011-11-22 11:51:59 -08:00
Evan Phoenix
88bc323f89 Add patch for CommonLogger to use after_reply 2011-10-20 23:07:24 -07:00
Evan Phoenix
be4a8336c0 Add rack.after_reply to simplify logging and resources 2011-10-20 21:44:34 -07:00
Evan Phoenix
0927fc8dc0 Remove non-rack compliant optimization path 2011-10-17 23:12:56 -07:00
Evan Phoenix
1657f579d7 Add PATH_INFO to the env 2011-10-14 12:15:35 -07:00
Evan Phoenix
597218e59d Add unix socket support 2011-09-27 10:53:45 -07:00
Evan Phoenix
000deba3c1 Prune out custom handlers, rack rules. 2011-09-22 22:14:39 -07:00
Evan Phoenix
190a81c55a Name change: Mongrel => Puma 2011-09-22 19:24:43 -07:00
Evan Phoenix
7d96353c5a A bunch of restructuring to make Rack first class 2011-09-18 13:02:34 -07:00