]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs
authorCory Snyder <csnyder@1111systems.com>
Mon, 27 Feb 2023 09:45:47 +0000 (04:45 -0500)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 5 Apr 2023 16:00:05 +0000 (18:00 +0200)
commitd880a2c59a098bacd4a2685812f4da6424c69244
treef5e447b7184d18d5c188729974f991e7a813014e
parent5455b010f5377d9194445e822768e25f66377c00
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs

Adds a test case to reproduce a bug with get_physical_fast_allocs for
clusters that have multiple fast device PVs in a single VG (deployed
prior to v15.2.8). Also fixes other test cases for this function
to more accurately represent reality.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 02592cb0a5970f861d25a521579c30639d10b007)
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py