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:
parent
0a1639a5bc
commit
6be7f058ad
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue