From 27976e89e7181e404156e9aaf64da560fd8bab4b Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Fri, 14 Jul 2023 17:36:37 +0300 Subject: [PATCH] test/objecstore/store_test: be more specific with the desired allocator. Test case depends strongly on avl allocator results. Hence sticking to this allocator explicitly. Signed-off-by: Igor Fedotov --- src/test/objectstore/store_test.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index 299601ac1c149..cc386cf0fb64f 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -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); -- 2.39.5