diff --git a/test/boost/database_test.cc b/test/boost/database_test.cc index f588a76286..aefa7eaaad 100644 --- a/test/boost/database_test.cc +++ b/test/boost/database_test.cc @@ -69,7 +69,11 @@ static future<> apply_mutation(sharded& sharded_db, table_id } future<> do_with_cql_env_and_compaction_groups(std::function func, cql_test_config cfg = {}, thread_attributes thread_attr = {}) { +#ifdef SEASTAR_DEBUG + std::vector x_log2_compaction_group_values = { 0 /* 1 CG */, 1 /* 2 CGs */ }; +#else std::vector x_log2_compaction_group_values = { 0 /* 1 CG */, 1 /* 2 CGs */, 8 /* 256 CGs */ }; +#endif for (auto x_log2_compaction_groups : x_log2_compaction_group_values) { // clean the dir before running if (cfg.db_config->data_file_directories.is_set()) {