]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: remove test_journal_collocation.py in OSD testing
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Apr 2019 12:57:56 +0000 (14:57 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 12 Apr 2019 00:45:21 +0000 (00:45 +0000)
this test is related to ceph-disk which is dropped as of stable-4.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 83e84c6a4a58900a7e1d5438129b9a4e877641eb)

tests/functional/tests/osd/test_journal_collocation.py [deleted file]

diff --git a/tests/functional/tests/osd/test_journal_collocation.py b/tests/functional/tests/osd/test_journal_collocation.py
deleted file mode 100644 (file)
index 1739638..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-
-class TestOSD(object):
-
-    def test_osds_are_all_collocated(self, node, host):
-        # TODO: figure out way to paramaterize node['vars']['devices'] for this test  # noqa E501
-        osd_auto_discovery = node["vars"].get('osd_auto_discovery', False)
-        if osd_auto_discovery:
-            node["vars"]["devices"] = ["/dev/sda", "/dev/sdb", "/dev/sdc"]  # Hardcoded since we can't retrieve the devices list generated during playbook run  # noqa E501
-        for device in node["vars"]["devices"]:
-            assert host.check_output("sudo blkid -s PARTLABEL -o value $(readlink -f %s)2" % device) in ["ceph journal", "ceph block"]  # noqa E501