diff options
author | Pavlo Shchelokovskyy <pshchelokovskyy@mirantis.com> | 2015-04-06 10:22:35 +0000 |
---|---|---|
committer | Pavlo Shchelokovskyy <pshchelokovskyy@mirantis.com> | 2015-04-06 10:22:35 +0000 |
commit | 6be7f058ade2d6bf6fa01b967ab6afaec6256c39 (patch) | |
tree | ff0585e6778c30b003684b605fc500f968f2132a | |
parent | 0a1639a5bcfd0237c988a773885b6c799b89304b (diff) | |
download | heat-6be7f058ade2d6bf6fa01b967ab6afaec6256c39.tar.gz |
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
-rw-r--r-- | heat_integrationtests/functional/test_autoscaling.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/heat_integrationtests/functional/test_autoscaling.py b/heat_integrationtests/functional/test_autoscaling.py index c1d6d3058..932245dd6 100644 --- a/heat_integrationtests/functional/test_autoscaling.py +++ b/heat_integrationtests/functional/test_autoscaling.py @@ -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, |