]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/librbd/operation/test_mock_SnapshotRemoveRequest.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / test / librbd / operation / test_mock_SnapshotRemoveRequest.cc
index 886ac768e74b2ad8223ff9c5cdd0e41effb2e260..1189f76fb4696704140e0c336e3bd0ed3182d907 100644 (file)
@@ -724,8 +724,7 @@ TEST_F(TestMockOperationSnapshotRemoveRequest, RemoveChildError) {
   librbd::ImageCtx *ictx;
   ASSERT_EQ(0, open_image(clone_name, &ictx));
   if (ictx->test_features(RBD_FEATURE_DEEP_FLATTEN)) {
-    std::cout << "SKIPPING" << std::endl;
-    return SUCCEED();
+    GTEST_SKIP() << "Skipping due to enabled deep-flatten";
   }
 
   ASSERT_EQ(0, snap_create(*ictx, "snap1"));