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

38 commits

Author SHA1 Message Date
Santiago Pastorino
26f2d462aa Remove unneeded method redirect_test_io 2012-07-04 18:15:08 -03:00
Gianluca Padovani
8d33d334ab test fail on machine with more than one IP 2012-06-22 11:45:26 +02:00
Evan Phoenix
49d27f888f Fix integration test and cleanup 1.9.3 warnings 2011-12-07 14:48:41 -08:00
Evan Phoenix
b2a7d84aa2 Add min:max thread settings 2011-09-27 16:33:17 -05:00
Evan Phoenix
9d377ddd06 Extract some event/error handling into seperate class 2011-09-27 15:52:50 -05:00
Evan Phoenix
597218e59d Add unix socket support 2011-09-27 10:53:45 -07:00
Evan Phoenix
f5ecd5dca6 More cleanup and removal 2011-09-23 20:46:33 -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
fdd5d7df78 Add thread pooling 2011-09-19 22:16:31 -07:00
Luis Lavena
04188375a3 Restore a broken test for Windows.
It works now under 1.8.7 and JRuby.
2010-04-28 02:37:30 -03:00
Luis Lavena
b2379ce4ba Exclude threaded test from Windows.
Something smells fishy here, but needs time to investigate :-P
2009-07-07 02:43:58 -03:00
evanweaver
b09848be46 Add IOError to test exception list because JRuby trunk started throwing it instead of one of the old ones.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/branches/stable_1-1@981 19e92222-5c0b-0410-8929-a290d50e31e9
2008-02-23 20:16:17 +00:00
evanweaver
7c2b31b577 yet another possible exception class for test_header_is_too_long
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@794 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-27 08:48:53 +00:00
evanweaver
304dd1ea90 let's say that a minor thread contention issue in the test suite is not a failure on jruby. on MRI i can determine the scheduling via sleep but jruby does what it wants.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@785 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-27 00:58:48 +00:00
evanweaver
3bdf6c88b5 move socket close into ensure
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@784 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-26 19:14:54 +00:00
evanweaver
afdc0c9b1c do_test needs to be threadsafe
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@727 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-22 06:22:48 +00:00
evanweaver
0320048974 jruby socket problem test
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@709 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-21 02:27:56 +00:00
evanweaver
638620f70d don't use #close_write anymore
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@708 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-21 00:49:39 +00:00
evanweaver
d665da08ba set up load path properly for tests even when rubygems is enabled
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@707 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-20 23:39:06 +00:00
evanweaver
fab6173a05 use synchronous stop everywhere; clean up test helpers
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@705 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-20 23:15:19 +00:00
evanweaver
7f7932ceca minimal jruby socket test; restore some output redirection; echoe trunk supports target tasks; don't global rescue socket.close
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@701 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-19 08:31:34 +00:00
evanweaver
e73e5d1707 clean up variable names in do_test
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@699 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-19 02:07:15 +00:00
evanweaver
c540323dfc test
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@696 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-18 21:38:12 +00:00
evanweaver
28dbbe7527 move synchronousness back to HS
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@694 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-18 21:03:53 +00:00
zedshaw
ab3c8082de Backport of HttpRequest enhancements from 0.4. Patch to specify --prefix from Scott Laird. Fix for ids not working with GC.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@292 19e92222-5c0b-0410-8929-a290d50e31e9
2006-07-13 22:34:59 +00:00
luislavena
c7d900e4de Let Mongrel compile and test ok under cygwin (don't know who would think use this for production, but there you go).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@271 19e92222-5c0b-0410-8929-a290d50e31e9
2006-07-01 07:06:52 +00:00
zedshaw
ddd5c9a46c Ruby license applied to all files
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@267 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:42:12 +00:00
zedshaw
7d0f10c242 Switched Mongrel to Ruby license.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@265 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:13:35 +00:00
zedshaw
a6d80703cb Refactor reaping dead threads. Slight change to license header to make it clearer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@255 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-23 13:22:47 +00:00
luislavena
d373e4e118 Fixed tests for Win32. Included a nasty hack due sockets not raising the expected exceptions (all under mighty windows).
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@221 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-02 03:00:49 +00:00
zedshaw
d7cc24df04 Win32 test and install fix-ups (cygwin)
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@218 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-30 23:36:48 +00:00
zedshaw
7b53a9afd2 Improved test coverage of the Command system and a simple method of stuffing useless IO to a file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@212 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-24 08:34:17 +00:00
zedshaw
f2754fd787 Improved tests increasing test coverage.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@210 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-23 12:46:05 +00:00
zedshaw
c45b6f077e LGPL preamble on all source files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@203 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-21 14:46:42 +00:00
zedshaw
72caf1dd08 resolv-replace causes problems on everything except Linux. Win32 seems to have issues with binding to 0.0.0.0
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@183 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-16 04:26:03 +00:00
zedshaw
0ca765c199 Conditional response code from Dan Kubb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@163 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-04 16:07:56 +00:00
zedshaw
004dec2c2f initial import into trunk
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@4 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-28 19:03:53 +00:00