summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-21 02:28:43 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-21 02:28:43 +0000
commit40d070843de3c43cc016e25bc014835dcf39c7c9 (patch)
tree3bf1281e8497966128fade96aef29c146b7222da /test/net
parent94792dbbc45d9dff5c124b9cb1d7e4684d0009d7 (diff)
skip tests broken with OpenSSL 1.1.1 on Travis osx
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/imap/test_imap.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb
index 936f4e0f42..46a1260412 100644
--- a/test/net/imap/test_imap.rb
+++ b/test/net/imap/test_imap.rb
@@ -100,6 +100,11 @@ class IMAPTest < Test::Unit::TestCase
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,