]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: allow bluestore devices
authorSébastien Han <seb@redhat.com>
Wed, 5 Jul 2017 08:45:25 +0000 (10:45 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 11 Jul 2017 20:08:35 +0000 (22:08 +0200)
Signed-off-by: Sébastien Han <seb@redhat.com>
tests/functional/tests/osd/test_journal_collocation.py

index 9a5b820b2fe5338e6332dcfb2134ad9298d118f4..bd79d75538c6fa7eeab862f736f25c5b7367f94f 100644 (file)
@@ -4,4 +4,4 @@ class TestOSD(object):
     def test_osds_are_all_collocated(self, node, Command):
         # TODO: figure out way to paramaterize node['vars']['devices'] for this test
         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"]