1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[ec2] wait for server to boot before pulling console output

This commit is contained in:
geemus 2010-04-29 14:59:26 -07:00
parent c13584e3bc
commit b97e4640ac

View file

@ -5,6 +5,7 @@ describe 'EC2.get_console_output' do
before(:each) do
@instance_id = AWS[:ec2].run_instances(GENTOO_AMI, 1, 1).body['instancesSet'].first['instanceId']
AWS[:ec2].servers.get(@instance_id).wait_for { ready? }
end
after(:each) do