1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/net/imap/test_imap.rb (ImapTest#imaps_test): forced error on SSL sockets

causes Errno::ECONNRESET or Errno::ECONNABORTED instead of Errno::EPIPE on
  Windows.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-12-07 13:59:17 +00:00
parent eebb6bfc79
commit f53a1931a7

View file

@ -492,7 +492,7 @@ class IMAPTest < Test::Unit::TestCase
ensure
sock.close
end
rescue Errno::EPIPE
rescue Errno::EPIPE, Errno::ECONNRESET, Errno::ECONNABORTED
end
end
begin