From e02fa9500e93da977c77cc3a8c421b20c8f7a5d9 Mon Sep 17 00:00:00 2001 From: evanweaver Date: Sat, 23 Feb 2008 20:16:17 +0000 Subject: 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-2@981 19e92222-5c0b-0410-8929-a290d50e31e9 --- test/unit/test_ws.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/unit/test_ws.rb b/test/unit/test_ws.rb index 3385e0a..d239e18 100644 --- a/test/unit/test_ws.rb +++ b/test/unit/test_ws.rb @@ -4,7 +4,7 @@ # Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html # for more information. -require 'test/test_helper' +require 'test/testhelp' include Mongrel @@ -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) }, -- cgit v1.2.3-24-ge0c7