From d2e6c2bfbd9ad4d4442da6cd5bd324867832074f Mon Sep 17 00:00:00 2001 From: mwish Date: Wed, 27 Dec 2023 00:10:08 +0800 Subject: [PATCH] Remove time logging --- cpp/src/arrow/dataset/dataset_writer_test.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cpp/src/arrow/dataset/dataset_writer_test.cc b/cpp/src/arrow/dataset/dataset_writer_test.cc index 1fba9c9343754..1ac0ec3f39e97 100644 --- a/cpp/src/arrow/dataset/dataset_writer_test.cc +++ b/cpp/src/arrow/dataset/dataset_writer_test.cc @@ -284,8 +284,6 @@ TEST_F(DatasetWriterTestFixture, MaxRowsOneWriteBackpresure) { // GH-38884: This test is to make sure that the writer can handle // throttle resources in `WriteRecordBatch`. - auto current_time = std::chrono::steady_clock::now(); - constexpr auto kFileSizeLimit = static_cast(10); write_options_.max_rows_per_file = kFileSizeLimit; write_options_.max_rows_per_group = kFileSizeLimit; @@ -304,12 +302,6 @@ TEST_F(DatasetWriterTestFixture, MaxRowsOneWriteBackpresure) { // Not checking the number of record batches because file may contain the // zero-length record batch. AssertCreatedData(expected_files, /*check_num_record_batches=*/false); - - std::cout << "time_spend:" - << std::chrono::duration_cast( - std::chrono::steady_clock::now() - current_time) - .count() - << std::endl; } TEST_F(DatasetWriterTestFixture, MaxRowsOneWriteWithFunctor) {