]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: add test condition for whole-object switch with fast diff enable 43806/head
authorSunny Kumar <sunkumar@redhat.com>
Tue, 15 Jun 2021 13:19:44 +0000 (14:19 +0100)
committerSunny Kumar <sunkumar@redhat.com>
Thu, 4 Nov 2021 14:18:42 +0000 (14:18 +0000)
commitcd8c36ef2d873f15a0bd4ec4715aaeff6aa89343
tree5665fc914c076d925cdc92fcde38557793b64fc9
parent6ba8fb46c24170f35fe72dfded8b04950da1804d
test/librbd: add test condition for whole-object switch with fast diff enable

This patch adds a test condition to test fast diff between two snapshots
with whole-object switch.

`TestMockObjectMapDiffRequest.EndDelta` expects diff state
`DIFF_STATE_DATA_UPDATED` which is an incorrect expectation when diff is calculated
between two snapshots.

Fixes: https://tracker.ceph.com/issues/50787
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
(cherry picked from commit 8d62c4adf74d2aee02f12bc1955490175b55bfda)
src/test/librbd/object_map/test_mock_DiffRequest.cc