From 4e2f86fc57156f3435f010af474fb1505df35b1f Mon Sep 17 00:00:00 2001 From: xufei Date: Fri, 17 Nov 2023 13:26:17 +0800 Subject: [PATCH] set tunnel timeout to 60s by default in ut (#8381) close pingcap/tiflash#8380 --- dbms/src/Debug/DAGProperties.h | 4 ++-- dbms/src/Flash/tests/gtest_spill_aggregation.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dbms/src/Debug/DAGProperties.h b/dbms/src/Debug/DAGProperties.h index 6ff2c33f372..40b59c1bc4b 100644 --- a/dbms/src/Debug/DAGProperties.h +++ b/dbms/src/Debug/DAGProperties.h @@ -35,6 +35,6 @@ struct DAGProperties UInt64 local_query_id = 1; Int64 task_id = 1; - Int32 mpp_timeout = 10; + Int32 mpp_timeout = 60; }; -} // namespace DB \ No newline at end of file +} // namespace DB diff --git a/dbms/src/Flash/tests/gtest_spill_aggregation.cpp b/dbms/src/Flash/tests/gtest_spill_aggregation.cpp index ef641533564..e55ee102f35 100644 --- a/dbms/src/Flash/tests/gtest_spill_aggregation.cpp +++ b/dbms/src/Flash/tests/gtest_spill_aggregation.cpp @@ -66,8 +66,8 @@ try {"d", TiDB::TP::TypeLongLong}, {"e", TiDB::TP::TypeLongLong}}; ColumnsWithTypeAndName column_datas; - size_t table_rows = 102400; - size_t duplicated_rows = 51200; + size_t table_rows = 51200; + size_t duplicated_rows = 25600; UInt64 max_block_size = 500; size_t original_max_streams = 20; size_t total_data_size = 0;