mirror of https://github.com/ceph/ceph-ansible.git
tests: fix duplicate osd service test
Signed-off-by: Ali Maredia <amaredia@redhat.com>pull/1829/head
parent
b29014f96c
commit
eab9d52ddb
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue