diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb index 4ba59d567a..f3e1f48de7 100644 --- a/test/open-uri/test_ssl.rb +++ b/test/open-uri/test_ssl.rb @@ -35,6 +35,9 @@ class TestOpenURISSL yield srv, dr, "https://#{host}:#{port}" ensure srv.shutdown + until srv.status == :Stop + sleep 0.1 + end end } end