Changeset 981

Show
Ignore:
Timestamp:
02/23/08 15:16:17 (7 months ago)
Author:
evanweaver
Message:

Add IOError to test exception list because JRuby trunk started throwing it instead of one of the old ones.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/stable_1-1/test/test_ws.rb

    r794 r981  
    9595  def test_num_processors_overload 
    9696    redirect_test_io do 
    97       assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL do 
     97      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL, IOError do 
    9898        tests = [ 
    9999          Thread.new { do_test(@valid_request, 1) }, 
  • branches/stable_1-2/test/unit/test_ws.rb

    r973 r981  
    55# for more information. 
    66 
    7 require 'test/test_helper
     7require 'test/testhelp
    88 
    99include Mongrel 
     
    9595  def test_num_processors_overload 
    9696    redirect_test_io do 
    97       assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL do 
     97      assert_raises Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED, Errno::EINVAL, IOError do 
    9898        tests = [ 
    9999          Thread.new { do_test(@valid_request, 1) },