Merge pull request #1829 from ceph/wip-osd-test-fix

tests: fix duplicate osd service test
pull/1830/head
Sébastien Han 2017-08-30 10:10:37 +02:00 committed by GitHub
commit e04deb9882
1 changed files with 2 additions and 2 deletions

View File

@ -22,10 +22,10 @@ class TestOSDs(object):
for osd in node["osds"]: for osd in node["osds"]:
assert host.service("ceph-osd@%s" % osd).is_running 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 # TODO: figure out way to paramaterize node['osds'] for this test
for osd in node["osds"]: 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 @pytest.mark.no_docker
def test_osd_are_mounted(self, node, host): def test_osd_are_mounted(self, node, host):