]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: enforce sync compactions for spillover tests 59532/head
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 30 Aug 2024 12:40:49 +0000 (15:40 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Fri, 30 Aug 2024 13:07:25 +0000 (16:07 +0300)
Fixes: https://tracker.ceph.com/issues/67838
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/test/objectstore/store_test.cc

index b93273dfc2a772d5bef357bc43a69dc262595e4b..32b0d96f69f271ca1a249ba95063f6f88db8682b 100644 (file)
@@ -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);