From b09848be4699835d2d8b9e39a6bb5fd7ea1afb9f Mon Sep 17 00:00:00 2001 From: evanweaver Date: Sat, 23 Feb 2008 20:16:17 +0000 Subject: [PATCH] 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 --- test/test_ws.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ws.rb b/test/test_ws.rb index f0191228..d239e189 100644 --- a/test/test_ws.rb +++ b/test/test_ws.rb @@ -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) },