From 6be7f058ade2d6bf6fa01b967ab6afaec6256c39 Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy Date: Mon, 6 Apr 2015 10:22:35 +0000 Subject: [PATCH] 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 --- heat_integrationtests/functional/test_autoscaling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/heat_integrationtests/functional/test_autoscaling.py b/heat_integrationtests/functional/test_autoscaling.py index c1d6d30589..932245dd61 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,