summaryrefslogtreecommitdiff
path: root/test/open-uri/test_ssl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/open-uri/test_ssl.rb')
-rw-r--r--test/open-uri/test_ssl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb
index 31b93e0b13..dfa3283486 100644
--- a/test/open-uri/test_ssl.rb
+++ b/test/open-uri/test_ssl.rb
@@ -53,6 +53,7 @@ class TestOpenURISSL < Test::Unit::TestCase
with_https(nil) {|srv, dr, url, server_thread, server_log|
setup_validation(srv, dr)
assert_raise(OpenSSL::SSL::SSLError) { URI.open("#{url}/data") {} }
+ sleep 0.5 unless RUBY_PLATFORM =~ /mswin|mingw/
}
end