From b712455f98ad4e7ef9c44d8384192369aaa77b62 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 23 Apr 2012 14:05:49 +0000 Subject: [PATCH] Wait until the server stops. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/open-uri/test_ssl.rb | 3 +++ 1 file changed, 3 insertions(+) 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