mirror of https://github.com/ceph/ceph-ansible.git
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 <gabrioux@redhat.com>
(cherry picked from commit 83e84c6a4a
)
pull/3857/head
parent
72cb6a0219
commit
cb4e6cb9f1
|
@ -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
|
Loading…
Reference in New Issue