]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/libcephfs: use more entries to reproduce snapdiff fragmentation
authorIgor Fedotov <igor.fedotov@croit.io>
Thu, 21 Aug 2025 10:42:54 +0000 (13:42 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Thu, 21 Aug 2025 10:42:54 +0000 (13:42 +0300)
issue.

Snapdiff listing fragments have different boundaries in Reef and Squid+
releases hence original reproducer (made for Reef) doesn't work properly
in S+ releases. This patch fixes that at cost of longer execution.
This might be redundant/senseless when backporting to Reef.

Related-to: https://tracker.ceph.com/issues/72518
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/test/libcephfs/snapdiff.cc

index f64275068037fe0a5655e488ddde0de21b9d4963..e337716a0173557c9bc6b20070a66b9b6db5c798 100644 (file)
@@ -2140,7 +2140,7 @@ TEST(LibCephFS, SnapDiffChangedBlockWithCustomObjectSize)
 }
 
 TEST(LibCephFS, SnapDiffDeletionRecreation) {
-  int bulk_count = 1 << 13;
+  int bulk_count = 1 << 15;
   TestMount test_mount("/SnapdiffDeletionRecreation");
 
   ASSERT_EQ(0, test_mount.mkdir("bulk"));