mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|compute] wait for ready before testing tags
This commit is contained in:
parent
d1ad49dc55
commit
c80baef30e
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ Shindo.tests("Fog::Compute[:aws] | monitor", ['aws']) do
|
|||
tests('tags') do
|
||||
@instance = Fog::Compute[:aws].servers.create(:tags => {'key' => 'value'})
|
||||
|
||||
@instance.wait_for { ready? }
|
||||
|
||||
tests('@instance.reload.tags').returns({'key' => 'value'}) do
|
||||
@instance.reload.tags
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue