]> git-server-git.apps.pok.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)
committerVenky Shankar <vshankar@redhat.com>
Thu, 25 Sep 2025 14:05:58 +0000 (19:35 +0530)
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.

Resolves: rhbz#2390060

Related-to: https://tracker.ceph.com/issues/72518
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 23397d32607fc307359d63cd651df3c83ada3a7f)
(cherry picked from commit 04c34b62a7ebad9296593edfcc8132b1c7351513)

src/test/libcephfs/snapdiff.cc

index f051f5c5108f637962757de50be163617f130429..7a3543cb9dcd3a1a3ef8ac10823a7a65c5b6f57f 100644 (file)
@@ -2139,7 +2139,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"));