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:
parent
7cae89145e
commit
b09848be46
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class WebServerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
def test_num_processors_overload
|
def test_num_processors_overload
|
||||||
redirect_test_io do
|
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 = [
|
tests = [
|
||||||
Thread.new { do_test(@valid_request, 1) },
|
Thread.new { do_test(@valid_request, 1) },
|
||||||
Thread.new { do_test(@valid_request, 10) },
|
Thread.new { do_test(@valid_request, 10) },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue