mirror of https://github.com/ceph/ceph-ansible.git
tests: allow bluestore devices
Signed-off-by: Sébastien Han <seb@redhat.com>pull/1656/head
parent
ed8a7cf1e0
commit
476d1677eb
|
@ -4,4 +4,4 @@ class TestOSD(object):
|
||||||
def test_osds_are_all_collocated(self, node, Command):
|
def test_osds_are_all_collocated(self, node, Command):
|
||||||
# TODO: figure out way to paramaterize node['vars']['devices'] for this test
|
# TODO: figure out way to paramaterize node['vars']['devices'] for this test
|
||||||
for device in node["vars"]["devices"]:
|
for device in node["vars"]["devices"]:
|
||||||
assert Command.check_output("sudo blkid -s PARTLABEL -o value %s2" % device) == "ceph journal"
|
assert Command.check_output("sudo blkid -s PARTLABEL -o value %s2" % device) in ["ceph journal", "ceph block"]
|
||||||
|
|
Loading…
Reference in New Issue