diff --git a/zaza/openstack/charm_tests/neutron/tests.py b/zaza/openstack/charm_tests/neutron/tests.py index b3c8906..5ea8b76 100644 --- a/zaza/openstack/charm_tests/neutron/tests.py +++ b/zaza/openstack/charm_tests/neutron/tests.py @@ -492,14 +492,11 @@ class NeutronApiTest(NeutronCreateNetworkTest): Pause service and check services are stopped then resume and check they are started """ - bionic_stein = openstack_utils.get_os_release('bionic_stein') - if openstack_utils.get_os_release() >= bionic_stein: - pgrep_full = True - else: - pgrep_full = False with self.pause_resume( - ["neutron-server", "apache2", "haproxy"], - pgrep_full=pgrep_full): + ["/usr/bin/neutron-server", + "/usr/sbin/apache2", + "/usr/sbin/haproxy"], + pgrep_full=True): logging.info("Testing pause resume")