1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

13 commits

Author SHA1 Message Date
MSP-Greg
50b8398dd7
CI: Fix up integration stream test for Puma (#1887)
Fixes timing issue with Puma, adds 0.05 second to sleep, small changes to
asserts and time calc.

Ensure Puma creates its request serving thread at server boot: If min_threads is
zero, the thread is created when the first request is received, which would
increase the time for the test assert that failed. For CI, if min_threads is
one, the thread is created as the server boots.

Close https://github.com/puma/puma/issues/3085
2023-02-22 22:12:12 +01:00
Jordan Owens
baa6bf783e
Add support to keep open streaming connections with Puma (#1858)
Also run async tests against Puma.

Co-authored-by: Jordan Owens <jkowens@gmail.com>
Co-authored-by: Patrik Ragnarsson <patrik@starkast.net>
2023-02-10 18:35:35 +01:00
Olle Jonsson
1559a20b06 refactor: use __dir__ in File.expand_path
__dir__ is nice, and available.
2022-02-02 15:58:11 -05:00
Kunpei Sakai
2bbbad0289
use rainbows instead of puma in examples 2020-09-01 03:10:19 +09:00
Ryuichi KAWAMATA
965c8b9c39 Create integration_async_test for to be enable test with rainbows 2020-08-08 19:14:29 +09:00
George
1f540a1714 Test added 2013-09-25 02:33:47 +04:00
Patricio Mac Adden
c7ad89c906 Add integration tests for sending files (Content-Length response header related tests) 2013-09-18 10:48:12 -03:00
Konstantin Haase
3023a51c0a fix subclass streaming test 2012-03-11 10:45:54 +01:00
Konstantin Haase
202f6b2118 add test for #473 2012-03-08 09:57:08 +01:00
Konstantin Haase
05cf864240 add streaming test 2012-03-07 23:03:28 +01:00
Konstantin Haase
a0adda9c7a prevent double-logging only on webrick, fixes #454 2012-03-07 22:17:58 +01:00
Konstantin Haase
46bdb7dcf8 only extend main object for top level dsl 2011-11-05 11:46:14 -02:00
Konstantin Haase
6232c77a99 add integration test 2011-10-31 14:40:22 -07:00