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

[aws|rds] wait for ready? before reboot

This commit is contained in:
geemus 2011-04-04 16:57:39 -07:00
parent 0b44f59c7c
commit 13f080c6b3

View file

@ -42,7 +42,8 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
tests 'new storage' do
returns(10){ server.allocated_storage}
end
server.wait_for { state == 'available'}
tests("reboot db instance") do
tests("#reboot").formats(AWS::RDS::Formats::REBOOT_DB_INSTANCE) do
AWS[:rds].reboot_db_instance( @db_instance_id).body