]> 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>
Wed, 9 Apr 2025 19:39:50 +0000 (13:39 -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 f6e5552c50f0c914052bc793d5ceb3a5bfde5d5a..13740f1b86f50f8383196ceab2eabbb447441f0c 100644 (file)
@@ -9917,6 +9917,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);