librbd::MockTestImageCtx &mock_src_image_ctx,
librbd::MockTestImageCtx &mock_dst_image_ctx, Context *on_finish) {
expect_get_object_name(mock_dst_image_ctx);
- expect_get_object_count(mock_dst_image_ctx);
return new MockObjectCopyRequest(&mock_src_image_ctx, &mock_dst_image_ctx,
m_snap_map, 0, false, on_finish);
}
librbd::MockObjectMap mock_object_map;
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,
mock_dst_image_ctx.object_map = &mock_object_map;
expect_test_features(mock_dst_image_ctx);
+ expect_get_object_count(mock_dst_image_ctx);
C_SaferCond ctx;
MockObjectCopyRequest *request = create_request(mock_src_image_ctx,