From: Igor Fedotov Date: Tue, 12 Aug 2025 13:07:43 +0000 (+0300) Subject: test/libcephfs: Polisihing SnapdiffDeletionRecreation case X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f512edacf124e851ccb8ffcc754f8aa55b539d95;p=ceph.git test/libcephfs: Polisihing SnapdiffDeletionRecreation case Signed-off-by: Igor Fedotov (cherry picked from commit daf3350621cfafa383cd9deea81b60b775a53093) --- diff --git a/src/test/libcephfs/snapdiff.cc b/src/test/libcephfs/snapdiff.cc index 1fcdeff9569..f051f5c5108 100644 --- a/src/test/libcephfs/snapdiff.cc +++ b/src/test/libcephfs/snapdiff.cc @@ -2138,14 +2138,14 @@ TEST(LibCephFS, SnapDiffChangedBlockWithCustomObjectSize) ASSERT_EQ(0, test_mount.rmsnap("snap2")); } -TEST(LibCephFS, SnapdiffDeletionRecreation) { - size_t bulk_count = 1 << 12; +TEST(LibCephFS, SnapDiffDeletionRecreation) { + int bulk_count = 1 << 13; TestMount test_mount("/SnapdiffDeletionRecreation"); ASSERT_EQ(0, test_mount.mkdir("bulk")); ASSERT_EQ(0, test_mount.mkdir("test")); - int i, j; + int i; char path[PATH_MAX]; for (i = 0; i < bulk_count; i++) { snprintf(path, PATH_MAX - 1, "bulk/%d", i);