diff --git a/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp b/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp index 8080d7e0f41..31a1b8c3e72 100644 --- a/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp +++ b/dbms/src/Flash/Coprocessor/tests/gtest_ti_remote_block_inputstream.cpp @@ -391,10 +391,7 @@ class TestTiRemoteBlockInputStream : public testing::Test // 3. send execution summary writer->add_summary = true; - - ExecutorStatisticsCollector statistics_collector(""); - statistics_collector.initialize(dag_context_ptr.get()); - auto summary_response = statistics_collector.genExecutionSummaryResponse(); + tipb::SelectResponse summary_response; writer->write(summary_response); } @@ -420,9 +417,7 @@ class TestTiRemoteBlockInputStream : public testing::Test // 3. send execution summary writer->add_summary = true; - ExecutorStatisticsCollector statistics_collector(""); - statistics_collector.initialize(dag_context_ptr.get()); - auto execution_summary_response = statistics_collector.genExecutionSummaryResponse(); + tipb::SelectResponse execution_summary_response; writer->write(execution_summary_response); }