mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|elb] wait_for server to be ready? before register
This commit is contained in:
parent
af7ebb2ad8
commit
6f06f9737e
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do
|
|||
end
|
||||
|
||||
server = Fog::Compute[:aws].servers.create
|
||||
server.wait_for { ready? }
|
||||
|
||||
tests('register instance') do
|
||||
begin
|
||||
elb.register_instances(server.id)
|
||||
|
|
Loading…
Reference in a new issue