Commit Graph

30 Commits

Author SHA1 Message Date
Zachary Scott 61013edbf0 Move get_response and get_stream to Sinatra::Runner 2016-08-17 19:37:46 +09:00
Damien Mathieu 818efcc199 introduce APP_ENV in addition to RACK_ENV 2016-08-17 19:29:11 +09:00
Nick Sutterer accf5f0f93 use S::Runner for integration tests. 2016-08-17 19:29:11 +09:00
Zachary Scott e61370a095 Add Reel support.
Closes #793 and #774
2016-01-31 20:51:16 +09: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
Vipul A M b6648df1a9 Fix some warnings 2013-07-02 11:07:39 +05:30
Konstantin Haase 623adfdd3b Merge pull request #680 from vipulnsward/cleanup_tests
Cleanup unused variables
2013-03-15 03:33:06 -07:00
Vipul A M 4fa3d9acb0 Just some typos, here and there! 2013-03-14 23:50:51 +05:30
Vipul A M ef2c38955e Cleanup unused variables 2013-03-14 22:33:53 +05:30
Patricio Mac Adden ead974db7a net-http-server logs to $stderr! 2013-03-10 23:27:39 -03:00
Patricio Mac Adden d4d6fbc782 Fix integration tests for Net HTTP Server. 2013-03-10 16:56:21 -03:00
Konstantin Haase cab56ed7d6 add first class support for trinidad, fixes #482 2012-05-14 00:22:37 +02:00
Konstantin Haase 700d5b22d2 add mizuno 2012-05-13 22:43:20 +02:00
Konstantin Haase 5a8080a077 sometimes puma does not log in test mode 2012-04-26 01:42:53 -05:00
Konstantin Haase b882ab37df retry failing integration tests 2012-03-18 14:33:48 +01:00
Konstantin Haase 5b8b15c1f7 don't set -w with thin in integration tests 2012-03-18 13:25:06 +01:00
Konstantin Haase 9d50905236 do not make assumptions about first log line in integration test (might be a warning) 2012-03-18 13:06:44 +01:00
Konstantin Haase ea653dbf2d add (failing) test to check that there are no warnings 2012-03-18 10:18:00 +01:00
Konstantin Haase fbdb25bb0d don't let integration tests block indefinitely 2012-03-18 10:16:59 +01:00
Konstantin Haase a24813bc5a also rescue OpenURI::HTTPError for heartbeat ping in integration test 2012-03-13 11:11:38 +01:00
Konstantin Haase 51c99f8560 increase timeout for integration test 2012-03-13 10:49:59 +01:00
Nick Sieger f1f69f0972 JRuby version of integration server, started in-process w/ ScriptingContainer 2012-03-10 14:50:31 -06:00
Konstantin Haase 0e1a97a861 JRuby raises SystemCallError instead of Errno::ECONNRESET 2012-03-10 17:12:02 +01:00
Konstantin Haase 935d02346c JRuby raises an Exception if process is already dead 2012-03-10 17:10:42 +01:00
Konstantin Haase 41c552993b ignore double logging issue on webrick for now 2012-03-08 09:10:40 +01:00
Konstantin Haase a2c67e4e27 improve integration server handling 2012-03-08 08:54:34 +01:00
Konstantin Haase 05cf864240 add streaming test 2012-03-07 23:03:28 +01:00
Konstantin Haase 35e4394275 also deal with connection reset in integration test 2012-03-07 22:58:40 +01:00
Konstantin Haase fa1d32382b use PID for port (so two tests can run in parallel)
pull requests for better logic welcome
2012-03-07 22:26:54 +01:00
Konstantin Haase a0adda9c7a prevent double-logging only on webrick, fixes #454 2012-03-07 22:17:58 +01:00