Use helper functions stack_suspend and stack_resume

These wait for the stack state to get to complete,
this wasn't done consistently. In test_autoscaling we were
only waiting for the resource state to get to SUSPEND_COMPLETE
and this lead to a time sensitive bug.

Change-Id: Id985d833dc0b4cab1e3cb9d8f67d5d8cc94b5863
Closes-bug: #1438717
4 files changed
tree: ca70897984dd94d3f211c901f0bc658610bfaec1
  1. common/
  2. functional/
  3. scenario/