aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 08:31:39 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-29 08:31:39 +0000
commita62923f85c116140a893b027eb15e3011b5dfa15 (patch)
treec4294b47ba27e8049277989da29d9f5dbcc44ebd
parent3db72e135d574827f61422cc43d27bb930647270 (diff)
downloadruby-a62923f85c116140a893b027eb15e3011b5dfa15.tar.gz
Ignore SystemCallError in case it is raised by SSLSocket#accept.
Errno::ECONNRESET was raised by test_tls_post_connection_check and test_tls_unknown_ca on mswin64 CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/net/ftp/test_ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index fb9852e63d..db36993280 100644
--- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb
@@ -2230,7 +2230,7 @@ EOF
sock.print("200 PSBZ success.\r\n")
commands.push(sock.gets)
sock.print("200 PROT success.\r\n")
- rescue OpenSSL::SSL::SSLError
+ rescue OpenSSL::SSL::SSLError, SystemCallError
end
ensure
sock.close