]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add a unit tests to lvm batch 38046/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Nov 2020 14:11:58 +0000 (15:11 +0100)
committerDimitri Savineau <dsavinea@redhat.com>
Thu, 19 Nov 2020 15:31:37 +0000 (10:31 -0500)
commitf0297fa9a57e31a955e60c17243385079f8960f2
treebe23d2fb560c30f7192c9cbc728db0f35515fe25
parentda9f71b1a2c6e42a0f3f4b01480a53f4d7cc9093
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