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:
parent
c13584e3bc
commit
b97e4640ac
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue