Fix functional test_signal_during_suspend
With some particular timing the stack returned by stack.get() is still
in SUSPEND_IN_PROGRESS and lacks `outputs` attribute.
Wait not only for nested stack to go to SUSPEND_COMPLETE, but for parent
stack too.
Change-Id: I8248146089f517c89f19321b796bfe750b14983b
Closes-Bug: #1440653
diff --git a/functional/test_autoscaling.py b/functional/test_autoscaling.py
index c1d6d30..932245d 100644
--- a/functional/test_autoscaling.py
+++ b/functional/test_autoscaling.py
@@ -750,6 +750,7 @@
# still SUSPEND_COMPLETE (not gone to UPDATE_COMPLETE)
self._wait_for_stack_status(nested_ident, 'SUSPEND_COMPLETE')
+ self._wait_for_stack_status(stack_identifier, 'SUSPEND_COMPLETE')
# still 2 instances.
self.assertTrue(test.call_until_true(
self.build_timeout, self.build_interval,