]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/objecstore/store_test: be more specific with the desired allocator.
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 14 Jul 2023 14:36:37 +0000 (17:36 +0300)
committerJoshua Baergen <jbaergen@digitalocean.com>
Thu, 27 Mar 2025 16:33:01 +0000 (10:33 -0600)
Test case depends strongly on avl allocator results. Hence sticking to
this allocator explicitly.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/test/objectstore/store_test.cc

index 299601ac1c1490e0c4de5ccfd6620369814347d5..cc386cf0fb64feed9e2e520a454e93821ce6f255 100644 (file)
@@ -9853,6 +9853,9 @@ TEST_P(StoreTestSpecificAUSize, BluestoreRepairSharedBlobTest) {
 
   SetVal(g_conf(), "bluestore_fsck_on_mount", "false");
   SetVal(g_conf(), "bluestore_fsck_on_umount", "false");
+  //stick with a specific allocator as we did some tricks
+  // with allocated extents and rely on specific offset numbers below.
+  SetVal(g_conf(), "bluestore_allocator", "avl");
 
   const size_t block_size = 0x1000;
   StartDeferred(block_size);