[前][次][番号順一覧][スレッド一覧]

ruby-changes:53049

From: k0kubun <ko1@a...>
Date: Sun, 21 Oct 2018 11:28:50 +0900 (JST)
Subject: [ruby-changes:53049] k0kubun:r65263 (trunk): skip tests broken with OpenSSL 1.1.1 on Travis osx

k0kubun	2018-10-21 11:28:43 +0900 (Sun, 21 Oct 2018)

  New Revision: 65263

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65263

  Log:
    skip tests broken with OpenSSL 1.1.1 on Travis osx

  Modified files:
    trunk/test/net/imap/test_imap.rb
    trunk/test/rubygems/test_gem_remote_fetcher.rb
Index: test/rubygems/test_gem_remote_fetcher.rb
===================================================================
--- test/rubygems/test_gem_remote_fetcher.rb	(revision 65262)
+++ test/rubygems/test_gem_remote_fetcher.rb	(revision 65263)
@@ -883,6 +883,11 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg== https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L883
 
   def test_do_not_allow_invalid_client_cert_auth_connection
     skip 'openssl is missing' unless defined?(OpenSSL::SSL)
+    if ENV.key?('TRAVIS') && /darwin/ =~ RUBY_PLATFORM
+      # https://travis-ci.org/ruby/ruby/jobs/444240249
+      # raises: OpenSSL::SSL::SSLError "SSL_read: tlsv1 alert decrypt error"
+      skip 'This test is failing with OpenSSL 1.1.1 on Travis osx build'
+    end
 
     ssl_server = self.class.start_ssl_server({
       :SSLVerifyClient =>
Index: test/net/imap/test_imap.rb
===================================================================
--- test/net/imap/test_imap.rb	(revision 65262)
+++ test/net/imap/test_imap.rb	(revision 65263)
@@ -100,6 +100,11 @@ class IMAPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/imap/test_imap.rb#L100
     end
 
     def test_imaps_post_connection_check
+      if ENV.key?('TRAVIS') && /darwin/ =~ RUBY_PLATFORM
+        # https://travis-ci.org/ruby/ruby/jobs/444232675
+        # randomly raises: Errno::EPROTOTYPE "Protocol wrong type for socket"
+        skip 'This test randomly fails with OpenSSL 1.1.1 on Travis osx build'
+      end
       assert_raise(OpenSSL::SSL::SSLError) do
         imaps_test do |port|
           # server_addr is different from the hostname in the certificate,

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]