From 7414a1f78fca7d199e03ca96ea17f56ce2db3c0f Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 9 Oct 2015 08:26:12 -0700 Subject: [PATCH] Set initial state for mysql unit to active, not unknown --- tests/31-test-pause-and-resume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/31-test-pause-and-resume.py b/tests/31-test-pause-and-resume.py index a89bd83..8dc23e0 100755 --- a/tests/31-test-pause-and-resume.py +++ b/tests/31-test-pause-and-resume.py @@ -14,7 +14,7 @@ class PauseResume(basic_deployment.BasicDeployment): uid = 'percona-cluster/0' unit = self.d.sentry.unit[uid] assert self.is_mysqld_running(unit), 'mysql not running: %s' % uid - assert utils.status_get(unit)[0] == "unknown" + assert utils.status_get(unit)[0] == "active" action_id = utils.run_action(unit, "pause") assert utils.wait_on_action(action_id), "Pause action failed."