Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaRise committed Mar 22, 2023
1 parent 8857a23 commit 1a71669
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand Down

0 comments on commit 1a71669

Please sign in to comment.