mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[ec2] fix race in describe_snapshots
This commit is contained in:
parent
4d544b8de5
commit
5e985cee65
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ describe 'EC2.describe_snapshots' do
|
|||
|
||||
before(:all) do
|
||||
@volume_id = AWS[:ec2].create_volume('us-east-1a', 1).body['volumeId']
|
||||
AWS[:ec2].volumes.get(@volume_id).wait_for { ready? }
|
||||
@snapshot_id = AWS[:ec2].create_snapshot(@volume_id).body['snapshotId']
|
||||
AWS[:ec2].snapshots.get(@snapshot_id).wait_for { ready? }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue