]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd: add TestInternal.FlattenInconsistentObjectMap
authorIlya Dryomov <idryomov@gmail.com>
Tue, 17 Dec 2024 08:57:44 +0000 (09:57 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 22 Dec 2024 15:27:03 +0000 (16:27 +0100)
commit32d9fe982859ba4fbd9b8a2b99cfebe799b3bd12
tree61ab59fd5402f51ab4d5989dc539f313368d4e49
parent5889d24bc6fd4288770bcaf71cac006913a74f9d
test/librbd: add TestInternal.FlattenInconsistentObjectMap

Inject an object map with all possible inconsistencies before
flattening to ensure that something similar to commit 40af4f87b64f
("librbd: flatten operation should use object map") doesn't reappear
in a different form.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ffcd90313b9dd6e5aab8df0f9a5335a69785133c)
src/test/librbd/test_internal.cc