1
0
Fork 0
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:
geemus 2011-09-22 19:59:11 -05:00
parent af7ebb2ad8
commit 6f06f9737e

View file

@ -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)