]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/test_DeepCopy: skip LargerDstObjSize for Crimson
authorMatan Breizman <mbreizma@redhat.com>
Sun, 27 Nov 2022 12:48:41 +0000 (12:48 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 29 Nov 2022 16:03:08 +0000 (16:03 +0000)
these test cause the whole test to crash, skip until resolved.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/test/librbd/test_DeepCopy.cc

index bb6d3f6bf0082323e4a25403efc6f5f5b64aee8b..fcce0c642e2a4541a0eefcef7946dc66a68e2cb6 100644 (file)
@@ -9,6 +9,7 @@
 #include "librbd/api/Snapshot.h"
 #include "librbd/internal.h"
 #include "librbd/io/ReadResult.h"
+#include "test/librados/crimson_utils.h"
 
 void register_test_deep_copy() {
 }
@@ -512,6 +513,7 @@ TEST_F(TestDeepCopy, Stress)
 
 TEST_F(TestDeepCopy, NoSnaps_LargerDstObjSize)
 {
+  SKIP_IF_CRIMSON();
   uint64_t order = m_src_ictx->order + 1;
   ASSERT_EQ(0, m_opts.set(RBD_IMAGE_OPTION_ORDER, order));
 
@@ -520,6 +522,7 @@ TEST_F(TestDeepCopy, NoSnaps_LargerDstObjSize)
 
 TEST_F(TestDeepCopy, Snaps_LargerDstObjSize)
 {
+  SKIP_IF_CRIMSON();
   uint64_t order = m_src_ictx->order + 1;
   ASSERT_EQ(0, m_opts.set(RBD_IMAGE_OPTION_ORDER, order));
 
@@ -550,6 +553,7 @@ TEST_F(TestDeepCopy, CloneFlatten_LargerDstObjSize)
 
 TEST_F(TestDeepCopy, Stress_LargerDstObjSize)
 {
+  SKIP_IF_CRIMSON();
   uint64_t order = m_src_ictx->order + 1 + rand() % 2;
   ASSERT_EQ(0, m_opts.set(RBD_IMAGE_OPTION_ORDER, order));