summaryrefslogtreecommitdiff
path: root/test
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
commitc6f58ef198dddf61d89bb899faa9d04abc81cd47 (patch)
treec4294b47ba27e8049277989da29d9f5dbcc44ebd /test
parent98763860a72e507cc941f7af04a75b9b0219bc2c (diff)
downloadruby-c6f58ef198dddf61d89bb899faa9d04abc81cd47.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
Diffstat (limited to 'test')
-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