]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add a unit tests to lvm batch 38045/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Nov 2020 14:11:58 +0000 (15:11 +0100)
committerDimitri Savineau <dsavinea@redhat.com>
Thu, 12 Nov 2020 16:27:17 +0000 (11:27 -0500)
commit1c1d07e632964f96910172a3e38152d8b0a970b1
treec59fc614d90af4d4bfc7b7211012ddb05a780eef
parentc152a577a350ac528f6e1991380c5be8b27ebe69
ceph-volume: add a unit tests to lvm batch

This commit adds unit tests in order to cover `_sort_rotational_disks()`
call when deploying with full hdd/ssd or mixed hdd/sdd scenarios.

Fixes: https://tracker.ceph.com/issues/48150
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-authored-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 13514a24cfdc32d67cfbc1201aa427168a926978)
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py