From 7a519a7bc02981ba78f876b955c0d5728a45fa16 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Tue, 24 Sep 2019 09:21:10 +0100 Subject: [PATCH] Never use pgrep as service names need escaping --- zaza/openstack/charm_tests/aodh/tests.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zaza/openstack/charm_tests/aodh/tests.py b/zaza/openstack/charm_tests/aodh/tests.py index cae30af..cabbac3 100644 --- a/zaza/openstack/charm_tests/aodh/tests.py +++ b/zaza/openstack/charm_tests/aodh/tests.py @@ -18,7 +18,6 @@ import logging -import zaza.model import zaza.openstack.charm_tests.test_utils as test_utils import zaza.openstack.utilities.openstack as openstack_utils @@ -89,11 +88,7 @@ class AodhTest(test_utils.OpenStackBaseTest): Pause service and check services are stopped then resume and check they are started """ - if self.release >= self.bionic_stein: - pgrep_full = True - else: - pgrep_full = False with self.pause_resume( self.services, - pgrep_full=pgrep_full): + pgrep_full=False): logging.info("Testing pause resume")