tests: make sure all osds are mounted

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1150/head
Andrew Schoen 2016-12-05 15:54:11 -06:00
parent 0665167afa
commit 8ed8dfd907
1 changed files with 5 additions and 0 deletions

View File

@ -16,3 +16,8 @@ class TestOSDs(object):
# TODO: figure out way to paramaterize CephNode['osd_ids'] for this test
for osd_id in CephNode["osd_ids"]:
assert Service("ceph-osd@%s" % osd_id).is_enabled
def test_osd_are_mounted(self, CephNode, MountPoint):
# TODO: figure out way to paramaterize CephNode['osd_ids'] for this test
for osd_id in CephNode["osd_ids"]:
assert MountPoint("/var/lib/ceph/osd/ceph-%s" % osd_id).exists