From: Igor Fedotov Date: Fri, 30 Aug 2024 12:40:49 +0000 (+0300) Subject: test/store_test: enforce sync compactions for spillover tests X-Git-Tag: v17.2.8~56^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c805285758defa8ff11bcaacd891b82a3d5c4ab2;p=ceph.git test/store_test: enforce sync compactions for spillover tests Fixes: https://tracker.ceph.com/issues/67838 Signed-off-by: Igor Fedotov --- diff --git a/src/test/objectstore/store_test.cc b/src/test/objectstore/store_test.cc index b93273dfc2a77..32b0d96f69f27 100644 --- a/src/test/objectstore/store_test.cc +++ b/src/test/objectstore/store_test.cc @@ -10410,6 +10410,7 @@ TEST_P(StoreTestSpecificAUSize, SpilloverTest) { SetVal(g_conf(), "bluestore_block_db_create", "true"); SetVal(g_conf(), "bluestore_block_db_size", "3221225472"); SetVal(g_conf(), "bluestore_volume_selection_policy", "rocksdb_original"); + SetVal(g_conf(), "bluestore_async_db_compaction", "false"); g_conf().apply_changes(nullptr); @@ -10452,6 +10453,7 @@ TEST_P(StoreTestSpecificAUSize, SpilloverFixedTest) { SetVal(g_conf(), "bluestore_block_db_size", "3221225472"); SetVal(g_conf(), "bluestore_volume_selection_policy", "use_some_extra"); SetVal(g_conf(), "bluestore_volume_selection_reserved", "1"); // just use non-zero to enable + SetVal(g_conf(), "bluestore_async_db_compaction", "false"); g_conf().apply_changes(nullptr); @@ -10482,6 +10484,7 @@ TEST_P(StoreTestSpecificAUSize, SpilloverFixed2Test) { SetVal(g_conf(), "bluestore_block_db_size", stringify(3200ull*1024*1024).c_str()); SetVal(g_conf(), "bluestore_volume_selection_policy", "use_some_extra"); SetVal(g_conf(), "bluestore_volume_selection_reserved", stringify(2900ull*1024*1024).c_str()); + SetVal(g_conf(), "bluestore_async_db_compaction", "false"); g_conf().apply_changes(nullptr); @@ -10509,6 +10512,7 @@ TEST_P(StoreTestSpecificAUSize, SpilloverFixed3Test) { SetVal(g_conf(), "bluestore_block_db_create", "true"); SetVal(g_conf(), "bluestore_block_db_size", "3221225472"); SetVal(g_conf(), "bluestore_volume_selection_policy", "fit_to_fast"); + SetVal(g_conf(), "bluestore_async_db_compaction", "false"); g_conf().apply_changes(nullptr);