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:
parent
f45fc7daa0
commit
66fd3a4eb5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue