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

[ec2] wait for snapshot to finish before describing, so that progress will not be nil

This commit is contained in:
geemus 2010-05-09 13:15:05 -07:00
parent 4836ad7c68
commit 1a1985db25

View file

@ -13,6 +13,7 @@ Shindo.tests('AWS::EC2 | snapshot requests', ['aws']) do
end
test("#describe_snapshots") do
AWS[:ec2].snapshots.get(@snapshot_id).wait_for { ready? }
@data = AWS[:ec2].describe_snapshots.body
has_format(@data, AWS::EC2::Formats::SNAPSHOTS)
end