]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson/seastore/test_object_data_handler: always initialize 65425/head
authorXuehan Xu <xuxuehan@qianxin.com>
Thu, 2 Apr 2026 07:47:27 +0000 (15:47 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Thu, 2 Apr 2026 07:47:27 +0000 (15:47 +0800)
the object's known_contents

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/test/crimson/seastore/test_object_data_handler.cc

index 88a55e29b38586e6e1ede2bb93277588fa2e5798..181c3b27ccb6111b9dd3e1e18350565cb7fc500f 100644 (file)
@@ -136,6 +136,7 @@ struct object_data_handler_test_t:
        DEFAULT_OBJECT_METADATA_RESERVATION);
       size = 0;
       known_contents = buffer::create(4<<20 /* 4MB */);
+      known_contents.zero(true);
     }
 
     void clear() {