From: Ali Maredia Date: Wed, 30 Aug 2017 01:24:13 +0000 (-0400) Subject: tests: fix duplicate osd service test X-Git-Tag: v3.0.0rc5~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eab9d52ddb466fe4b43d24dc7a6909cb4e0df1bf;p=ceph-ansible.git tests: fix duplicate osd service test Signed-off-by: Ali Maredia --- diff --git a/tests/functional/tests/osd/test_osds.py b/tests/functional/tests/osd/test_osds.py index d3cefa4e8..ea7953054 100644 --- a/tests/functional/tests/osd/test_osds.py +++ b/tests/functional/tests/osd/test_osds.py @@ -22,10 +22,10 @@ class TestOSDs(object): for osd in node["osds"]: assert host.service("ceph-osd@%s" % osd).is_running - def test_osd_services_are_running(self, node, host): + def test_osd_services_are_enabled(self, node, host): # TODO: figure out way to paramaterize node['osds'] for this test for osd in node["osds"]: - assert host.service("ceph-osd@%s" % osd).is_running + assert host.service("ceph-osd@%s" % osd).is_enabled @pytest.mark.no_docker def test_osd_are_mounted(self, node, host):