Merge "Wait for stack status instead of group status"

This commit is contained in:
Jenkins 2016-07-04 15:10:15 +00:00 committed by Gerrit Code Review
commit 0272577c9e
1 changed files with 3 additions and 2 deletions

View File

@ -726,8 +726,9 @@ outputs:
# suspend the top level stack.
self.client.actions.suspend(stack_id=stack_identifier)
self._wait_for_resource_status(
stack_identifier, 'JobServerGroup', 'SUSPEND_COMPLETE')
# Wait for stack to reach SUSPEND_COMPLETE
self._wait_for_stack_status(stack_identifier, 'SUSPEND_COMPLETE')
# Send a signal and an exception will raise
ex = self.assertRaises(exc.BadRequest,