1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Wait for volume to be ready again.

This commit is contained in:
Dylan Egan 2011-07-08 14:31:29 -07:00
parent 216b3ded0d
commit e748d175c2

View file

@ -21,6 +21,8 @@ Shindo.tests("Fog::Compute[:aws] | volume", ['aws']) do
@instance.server = nil
end
@instance.wait_for { ready? }
@instance.server = @server
@instance.wait_for { state == 'in-use' }