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:
parent
cd3c5900f0
commit
9508ee283e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue