Skip to content

Commit 3c8e9b0

Browse files
committed
MRI also sometimes raises ECONNRESET for this test.
1 parent c8d4441 commit 3c8e9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jruby/test_socket.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def test_syswrite_raises_epipe
528528
loop do
529529
sock.syswrite("2")
530530
end
531-
rescue Errno::EPIPE
531+
rescue Errno::EPIPE, Errno::ECONNRESET
532532
# ok
533533
rescue => ex
534534
# FIXME: make Windows behave the same?

0 commit comments

Comments
 (0)