]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add a unit tests to lvm batch
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Nov 2020 14:11:58 +0000 (15:11 +0100)
committerDimitri Savineau <dsavinea@redhat.com>
Mon, 9 Nov 2020 15:54:50 +0000 (10:54 -0500)
commit13514a24cfdc32d67cfbc1201aa427168a926978
tree42f2142704f81b30ba327b20309164e5e36be223
parent2a854ca373fadef099a1d037930eb241e757b2c3
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>
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py