From f4991ab79520659d2a4ca585c41fa22141e3f6d8 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Sun, 18 Jul 2004 14:40:04 +0000 Subject: [PATCH] * test/openssl/test_ssl.rb: add workaround for Cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/test_ssl.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 637750af70..60e9f46b79 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -78,6 +78,10 @@ class OpenSSL::TestSSL < Test::Unit::TestCase def starttls(ssl) ssl.puts("STARTTLS") + + sleep 1 # When this line is eliminated, process on Cygwin blocks + # forever at ssl.connect. But I don't know why it does. + ssl.connect end