From b68f9c32bbcff3372ee70f4efec4c93f01936d22 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 9 Nov 2023 15:26:12 +0300 Subject: [PATCH] test/utils: Get compaction manager from test_env This is just to reduce churn in the next patch. Signed-off-by: Pavel Emelyanov --- test/lib/sstable_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/sstable_utils.cc b/test/lib/sstable_utils.cc index 75726e282c..986ee77dd4 100644 --- a/test/lib/sstable_utils.cc +++ b/test/lib/sstable_utils.cc @@ -162,7 +162,7 @@ protected: future<> compaction_manager_test::run(test_env& env, sstables::run_id output_run_id, table_state& table_s, noncopyable_function (sstables::compaction_data&)> job) { auto& tcm = env.test_compaction_manager(); - auto task = make_shared(_cm, table_s, output_run_id, std::move(job)); + auto task = make_shared(tcm.get_compaction_manager(), table_s, output_run_id, std::move(job)); co_await tcm.perform_compaction(std::move(task)); }