summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2023-12-21 18:08:21 +0100
committerIlya Dryomov <idryomov@gmail.com>2024-01-20 16:06:53 +0100
commit64a5afcaad7b61a20f630aca064c2953380c70c1 (patch)
treeb235386c749e030516e78405d24355588efe786b /src/test
parentMerge pull request #55177 from zdover23/wip-doc-2024-01-15-radosgw-admin-get-... (diff)
downloadceph-64a5afcaad7b61a20f630aca064c2953380c70c1.tar.xz
ceph-64a5afcaad7b61a20f630aca064c2953380c70c1.zip
test/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap
Use a range where only snap_id_start is invalid. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/librbd/object_map/test_mock_DiffRequest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/librbd/object_map/test_mock_DiffRequest.cc b/src/test/librbd/object_map/test_mock_DiffRequest.cc
index aefebf4a05b..2d136e8ed75 100644
--- a/src/test/librbd/object_map/test_mock_DiffRequest.cc
+++ b/src/test/librbd/object_map/test_mock_DiffRequest.cc
@@ -207,7 +207,7 @@ TEST_P(TestMockObjectMapDiffRequest, InvalidStartSnap) {
InSequence seq;
C_SaferCond ctx;
- auto req = new MockDiffRequest(&mock_image_ctx, CEPH_NOSNAP, 0,
+ auto req = new MockDiffRequest(&mock_image_ctx, CEPH_NOSNAP, CEPH_NOSNAP,
is_diff_iterate(), &m_object_diff_state,
&ctx);
req->send();