From cb4e6cb9f1e952a4cdb809faa34cc40c98462705 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 11 Apr 2019 14:57:56 +0200 Subject: [PATCH] tests: remove test_journal_collocation.py in OSD testing this test is related to ceph-disk which is dropped as of stable-4.0 Signed-off-by: Guillaume Abrioux (cherry picked from commit 83e84c6a4a58900a7e1d5438129b9a4e877641eb) --- tests/functional/tests/osd/test_journal_collocation.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 tests/functional/tests/osd/test_journal_collocation.py diff --git a/tests/functional/tests/osd/test_journal_collocation.py b/tests/functional/tests/osd/test_journal_collocation.py deleted file mode 100644 index 17396381a..000000000 --- a/tests/functional/tests/osd/test_journal_collocation.py +++ /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