From f53a1931a70b1556a0f2c002e8afa3d960a71c7a Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 7 Dec 2014 13:59:17 +0000 Subject: * 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 --- test/net/imap/test_imap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/net') diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb index f217971..da33533 100644 --- a/test/net/imap/test_imap.rb +++ b/test/net/imap/test_imap.rb @@ -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 -- cgit v1.1