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:
parent
eebb6bfc79
commit
f53a1931a7
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ class IMAPTest < Test::Unit::TestCase
|
||||||
ensure
|
ensure
|
||||||
sock.close
|
sock.close
|
||||||
end
|
end
|
||||||
rescue Errno::EPIPE
|
rescue Errno::EPIPE, Errno::ECONNRESET, Errno::ECONNABORTED
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Reference in a new issue