Skip to content
Browse files

JRuby raises SystemCallError instead of Errno::ECONNRESET

  • Loading branch information...
1 parent 935d023 commit 0e1a97a861766a9185d9c8780b1237a6b9c45670 @rkh rkh committed Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/integration_helper.rb
View
2 test/integration_helper.rb
@@ -65,7 +65,7 @@ def ping(timeout = 10)
def alive?
3.times { get('/ping') }
true
- rescue Errno::ECONNREFUSED, Errno::ECONNRESET, EOFError => error
+ rescue Errno::ECONNREFUSED, Errno::ECONNRESET, EOFError, SystemCallError => error
false
end

0 comments on commit 0e1a97a

Please sign in to comment.
Something went wrong with that request. Please try again.