diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-23 14:05:49 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-23 14:05:49 +0000 |
commit | b712455f98ad4e7ef9c44d8384192369aaa77b62 (patch) | |
tree | 036c39f3cba84799ac0cde57d1025baaf78abf78 /test/open-uri | |
parent | 19787c403858166b8a4def5dd7aab91e43cf947f (diff) | |
download | ruby-b712455f98ad4e7ef9c44d8384192369aaa77b62.tar.gz |
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.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |