Fix assertion after stack deletion
After a stack has been removed with module stack, a call to module stack_info might still return this stack with its status set to 'DELETE_COMPLETE' and its status_reason defined as 'Stack DELETE completed successfully'. Change-Id: Ice843c403669b4a4e1b12ec73db1fb00d1405980
This commit is contained in:
parent
879270aa47
commit
61e20bb945
@ -41,4 +41,4 @@
|
||||
- assert:
|
||||
that:
|
||||
- stacks is defined
|
||||
- stacks['stacks']|length == 0
|
||||
- (stacks['stacks']|length == 0) or (stacks['stacks'][0]['status'] == 'DELETE_COMPLETE')
|
||||
|
Loading…
x
Reference in New Issue
Block a user