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 instance ready? before delete

This commit is contained in:
geemus 2011-04-04 17:22:15 -07:00
parent cd3c5900f0
commit 9508ee283e

View file

@ -88,6 +88,7 @@ Shindo.tests('AWS::RDS | instance requests', ['aws', 'rds']) do
end
tests("#delete_db_instance").formats(AWS::RDS::Formats::DELETE_DB_INSTANCE) do
server.wait_for { state == 'available'}
AWS[:rds].delete_db_instance(@db_replica_id, nil, true)
body = AWS[:rds].delete_db_instance(@db_instance_id, 'fog-final-snapshot').body
Fog.wait_for do