diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 08:31:39 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-29 08:31:39 +0000 |
commit | c6f58ef198dddf61d89bb899faa9d04abc81cd47 (patch) | |
tree | c4294b47ba27e8049277989da29d9f5dbcc44ebd /test/net/ftp | |
parent | 98763860a72e507cc941f7af04a75b9b0219bc2c (diff) | |
download | ruby-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/net/ftp')
-rw-r--r-- | test/net/ftp/test_ftp.rb | 2 |
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 |