summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
Diffstat (limited to 'test/net')
-rw-r--r--test/net/imap/test_imap.rb2
1 files changed, 1 insertions, 1 deletions
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