ruby-changes:44850
From: shugo <ko1@a...>
Date: Tue, 29 Nov 2016 17:31:44 +0900 (JST)
Subject: [ruby-changes:44850] shugo:r56923 (trunk): Ignore SystemCallError in case it is raised by SSLSocket#accept.
shugo 2016-11-29 17:31:39 +0900 (Tue, 29 Nov 2016) New Revision: 56923 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56923 Log: 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. Modified files: trunk/test/net/ftp/test_ftp.rb Index: test/net/ftp/test_ftp.rb =================================================================== --- test/net/ftp/test_ftp.rb (revision 56922) +++ test/net/ftp/test_ftp.rb (revision 56923) @@ -2230,7 +2230,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L2230 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/