1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Wait the server until it stops.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-04-10 10:19:28 +00:00
parent f45fc7daa0
commit 66fd3a4eb5

View file

@ -25,6 +25,9 @@ class TestOpenURI < Test::Unit::TestCase
yield srv, dr, "http://#{host}:#{port}"
ensure
srv.shutdown
until srv.status == :Stop
sleep 0.1
end
end
}
end