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

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
This commit is contained in:
evanweaver 2008-02-23 20:16:17 +00:00
parent 7cae89145e
commit b09848be46

View file

@ -94,7 +94,7 @@ class WebServerTest < Test::Unit::TestCase
def test_num_processors_overload
redirect_test_io do
assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL do
assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL, IOError do
tests = [
Thread.new { do_test(@valid_request, 1) },
Thread.new { do_test(@valid_request, 10) },