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:
parent
216b3ded0d
commit
e748d175c2
1 changed files with 2 additions and 0 deletions
|
@ -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' }
|
||||
|
||||
|
|
Loading…
Reference in a new issue