]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: expand DiffIterateTest.DiffIterateDiscard
authorIlya Dryomov <idryomov@gmail.com>
Thu, 30 Nov 2023 16:30:33 +0000 (17:30 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 18 Dec 2023 17:41:34 +0000 (18:41 +0100)
commit9b5e2b31c8ad44be9a9c792799424d35786326af
tree129e64fb49da28d394923ccb2f7af26d9868fabb
parenta87634b1b8716c156aaf9f027c87fc2d9bcc535c
test/librbd: expand DiffIterateTest.DiffIterateDiscard

Similar to DiffIterateTest.DiffIterateDeterministic, systematically
cover the most common cases involving full-object discards.  With this
in place, issue [1] can be reproduced by any of:

    (preparatory) before snap3 is taken
    (1) beginning of time -> HEAD
    (2) snap1 -> HEAD
    (5) beginning of time -> snap3
    (6) snap1 -> snap3

Sub-object discards aren't covered here because of further issues
[2][3].

[1] https://tracker.ceph.com/issues/53897
[2] https://tracker.ceph.com/issues/63770
[3] https://tracker.ceph.com/issues/63771

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