]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add objectstore unit tests
authorGuillaume Abrioux <gabrioux@ibm.com>
Tue, 4 Jul 2023 12:47:59 +0000 (12:47 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 28 Mar 2024 09:35:38 +0000 (09:35 +0000)
commitf06dad9bf93dd1671419932a1853b963c39d229d
tree494df1f0386cdc98199cbcce7801e6004c89215d
parentb25e8e4ecc8f4187cf1f185e0e0f5a72aafe6a10
ceph-volume: add objectstore unit tests

This add unit tests in order to cover the code present in `./objectstore/`
This also updates current unit tests with respect to the recent changes
and fixes some tests that were already broken.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
15 files changed:
src/ceph-volume/ceph_volume/objectstore/lvmbluestore.py
src/ceph-volume/ceph_volume/tests/api/test_lvm.py
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_migrate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_zap.py
src/ceph-volume/ceph_volume/tests/devices/raw/test_prepare.py
src/ceph-volume/ceph_volume/tests/objectstore/test_baseobjectstore.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/objectstore/test_bluestore.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/objectstore/test_lvmbluestore.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/objectstore/test_rawbluestore.py [new file with mode: 0644]
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/tests/util/test_prepare.py