]> 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@redhat.com>
Wed, 15 May 2024 09:12:56 +0000 (09:12 +0000)
commitfaffd26ed3685cabb0d2adb127b0abb074d1f00a
tree271f02a653d01d584b7ee451ee89ceee34e2c9ae
parent1ec2e79409cace15a2b308c25f567ffc383b46f0
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>
(cherry picked from commit f06dad9bf93dd1671419932a1853b963c39d229d)
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