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:
parent
4836ad7c68
commit
1a1985db25
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue