summaryrefslogtreecommitdiff
path: root/test/open-uri
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 14:05:49 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 14:05:49 +0000
commitb712455f98ad4e7ef9c44d8384192369aaa77b62 (patch)
tree036c39f3cba84799ac0cde57d1025baaf78abf78 /test/open-uri
parent19787c403858166b8a4def5dd7aab91e43cf947f (diff)
Wait until the server stops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/open-uri')
-rw-r--r--test/open-uri/test_ssl.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb
index 4ba59d5..f3e1f48 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