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
@ -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…
x
Reference in New Issue
Block a user