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

[compute|aws] wait for volume before attaching

This commit is contained in:
geemus 2011-04-04 14:57:13 -07:00
parent 9a31c01d56
commit 9642a6bdb8

View file

@ -4,6 +4,8 @@ Shindo.tests("AWS::Compute | volume", ['aws']) do
@server.wait_for { ready? }
model_tests(AWS[:compute].volumes, {:availability_zone => @server.availability_zone, :size => 1, :device => '/dev/sdz1'}, true) do
@instance.wait_for { ready? }
tests('#server = @server').succeeds do
@instance.server = @server