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

9 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
b41205f5ca
Revert "Avoid mutating global STDOUT & STDERR (#1837)" (#1946)
This reverts commit 70b28bb5dd.
2019-09-02 16:05:48 +00:00
Laurent Arnoud
0cb108828e Add REQUEST_PATH on parse error message (#1831)
```
2019-07-01 21:31:08 +0200: HTTP parse error, malformed request (127.0.0.1/plop): #<Puma::HttpParserError: HTTP element QUERY_STRING is longer than the (1024 * 10) allowed length (was 20481)>
```

ref https://github.com/puma/puma/issues/1768
2019-07-27 09:15:55 -07:00
Montana Low
70b28bb5dd Avoid mutating global STDOUT & STDERR (#1837) 2019-07-25 12:09:51 -07:00
Eileen M. Uchitelle
6714214d57 Require puma/events in test helper (#1418)
Moves the require for puma/events from the individual test files and
into the main test helper.

The reason for this was while I was debugging the `test_puma_server.rb`
tests I was getting an error for an uninitialized constant for
`Puma::Event`.

Moving the require from the individual files to the test help means the
`puma/events` will always be included instead of having to remember to
do that. It makes debugging individual tests locally easier.
2017-09-23 05:44:21 +09: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
b66cf49fa3 Add more tests to Puma::Events. (#1162) 2016-11-24 15:57:07 -07:00
Francesco Rodriguez
57c6dd947f Add some tests to Puma::Events (#1161)
* Add some tests to Puma::Events class.

* Add missing require to Puma::Events.
2016-11-23 17:20:47 -07:00