]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: expand TestMockObjectMapDiffRequest edge case coverage
authorIlya Dryomov <idryomov@gmail.com>
Sat, 23 Dec 2023 14:19:09 +0000 (15:19 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 20 Jan 2024 18:00:24 +0000 (19:00 +0100)
commit230eb572fde378d3425f9cf8a4dda02628fcc286
tree2d88de6ded9c9c698afa847e6c4233dbe106abc3
parent37a60dc529720c5e3b409208c196765189dc2792
test/librbd: expand TestMockObjectMapDiffRequest edge case coverage

For each covered edge case or error, run through the following
scenarios:

- where the edge case concerns snap_id_start
- where the edge case concerns snap_id_end
- where the edge case concerns intermediate snapshot and
  snap_id_start == 0 (diff against the beginning of time)
- where the edge case concerns intermediate snapshot and
  snap_id_start != 0 (diff from snapshot)

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