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
This commit is contained in:
Pavlo Shchelokovskyy 2015-04-06 10:22:35 +00:00
parent 0a1639a5bc
commit 6be7f058ad
1 changed files with 1 additions and 0 deletions

View File

@ -750,6 +750,7 @@ outputs:
# 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,