~corey.bryant/charms/trusty/ceilometer/aodh

« back to all changes in this revision

Viewing changes to tests/basic_deployment.py

  • Committer: James Page
  • Date: 2015-10-16 11:59:37 UTC
  • mto: This revision was merged to the branch mainline in revision 103.
  • Revision ID: james.page@ubuntu.com-20151016115937-e2lndj3t0z30ckse
Rework assess status to take action managed status into account

Show diffs side-by-side

added added

removed removed

Lines of Context:
604
604
        unit_name = "ceilometer/0"
605
605
        unit = self.d.sentry.unit[unit_name]
606
606
 
607
 
        assert u.status_get(unit)[0] == "unknown"
 
607
        assert u.status_get(unit)[0] == "active"
608
608
 
609
609
        action_id = self._run_action(unit_name, "pause")
610
610
        assert self._wait_on_action(action_id), "Pause action failed."