Skip to content
Browse files

Ignore JRuby test failure for test_socket_local

JRuby versions < 1.7 raises SocketError instead of EADDRINUSE.
  • Loading branch information...
1 parent 4b6abe6 commit bc3176be2724dee3a2e9aeef18920861eb07bb70 @nahi committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_httpclient.rb
View
2 test/test_httpclient.rb
@@ -1401,7 +1401,7 @@ def test_socket_local
@client.socket_local.port = serverport
begin
@client.get_content(serverurl + 'hello')
- rescue Errno::EADDRINUSE
+ rescue Errno::EADDRINUSE, SocketError
assert(true)
end
end

0 comments on commit bc3176b

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