]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: fix duplicate osd service test 1829/head
authorAli Maredia <amaredia@redhat.com>
Wed, 30 Aug 2017 01:24:13 +0000 (21:24 -0400)
committerAli Maredia <amaredia@redhat.com>
Wed, 30 Aug 2017 01:24:13 +0000 (21:24 -0400)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
tests/functional/tests/osd/test_osds.py

index d3cefa4e8dc7bad5c2faf54e31a0895b83f88e98..ea7953054174ccc2b8ca215792770f8abf40de0f 100644 (file)
@@ -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):