This is an automated email from the ASF dual-hosted git repository.
airborne pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 5c253afc020 [fix] (regression test) reduce testing time (#40286)
5c253afc020 is described below
commit 5c253afc020215b187204b06e918c6bcd951bc86
Author: Sun Chenyang <[email protected]>
AuthorDate: Thu Sep 5 15:23:16 2024 +0800
[fix] (regression test) reduce testing time (#40286)
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
---
.../test_move_memtable_multi_segment_index.out | 2 +-
.../test_move_memtable_multi_segment_index.groovy | 23 +---------------------
2 files changed, 2 insertions(+), 23 deletions(-)
diff --git
a/regression-test/data/load/insert/test_move_memtable_multi_segment_index.out
b/regression-test/data/load/insert/test_move_memtable_multi_segment_index.out
index c569d3acd09..7e7b8e47842 100644
---
a/regression-test/data/load/insert/test_move_memtable_multi_segment_index.out
+++
b/regression-test/data/load/insert/test_move_memtable_multi_segment_index.out
@@ -1,4 +1,4 @@
-- This file is automatically generated. You should know what you did if you
want to edit this
-- !sql_select_count --
-67843
+10000
diff --git
a/regression-test/suites/load/insert/test_move_memtable_multi_segment_index.groovy
b/regression-test/suites/load/insert/test_move_memtable_multi_segment_index.groovy
index ac225812484..e652f74a4a8 100644
---
a/regression-test/suites/load/insert/test_move_memtable_multi_segment_index.groovy
+++
b/regression-test/suites/load/insert/test_move_memtable_multi_segment_index.groovy
@@ -69,30 +69,9 @@ suite("test_move_memtable_multi_segment_index",
"nonConcurrent"){
properties("replication_num" = "1", "disable_auto_compaction" =
"true");
"""
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2015-01-01-0.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2015-01-01-1.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2015-01-01-2.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2015-01-01-3.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2022-11-07-16.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2022-11-07-10.json'}""")
- load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2022-11-07-22.json'}""")
load_json_data.call(table_name, """${getS3Url() +
'/regression/gharchive.m/2022-11-07-23.json'}""")
- sql """DROP TABLE IF EXISTS github_events_2"""
- sql """
- CREATE TABLE IF NOT EXISTS `github_events_2` (
- `k` BIGINT NULL,
- `v` text NULL,
- INDEX idx_var (`v`) USING INVERTED PROPERTIES("parser" =
"english") COMMENT ''
- ) ENGINE = OLAP DUPLICATE KEY(`k`) COMMENT 'OLAP' DISTRIBUTED BY
HASH(`k`) BUCKETS 1 PROPERTIES (
- "replication_allocation" = "tag.location.default: 1"
- );
- """
-
- sql """
- insert into github_events_2 select 1, cast(v["repo"]["name"] as
string) FROM github_events;
- """
- qt_sql_select_count """ select count(*) from github_events_2; """
+ qt_sql_select_count """ select count(*) from github_events; """
} finally {
set_be_config("write_buffer_size", "209715200")
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]