From: Andrew Schoen Date: Mon, 5 Dec 2016 21:54:11 +0000 (-0600) Subject: tests: make sure all osds are mounted X-Git-Tag: v2.1.0~26^2~23 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ed8dfd90704b4e6d0bcf9930b8b96d79a904cd9;p=ceph-ansible.git tests: make sure all osds are mounted Signed-off-by: Andrew Schoen --- diff --git a/tests/functional/tests/osd/test_osds.py b/tests/functional/tests/osd/test_osds.py index 3029f16b2..81bf599a4 100644 --- a/tests/functional/tests/osd/test_osds.py +++ b/tests/functional/tests/osd/test_osds.py @@ -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