]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/rbd_mirror/image_sync/test_mock_SyncPointCreateRequest.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / test / rbd_mirror / image_sync / test_mock_SyncPointCreateRequest.cc
index 69c2f3883842dbef6d9314ff95c38285fc6001a4..9a4d920f8c2ad3d790781e7036da430c043e49ce 100644 (file)
@@ -77,8 +77,8 @@ public:
   }
 
   void expect_snap_create(librbd::MockTestImageCtx &mock_remote_image_ctx, int r) {
-    EXPECT_CALL(*mock_remote_image_ctx.operations, snap_create(_, _, _))
-      .WillOnce(WithArg<2>(CompleteContext(r)));
+    EXPECT_CALL(*mock_remote_image_ctx.operations, snap_create(_, _, _, _, _))
+      .WillOnce(WithArg<4>(CompleteContext(r)));
   }
 
   MockSyncPointCreateRequest *create_request(librbd::MockTestImageCtx &mock_remote_image_ctx,