Skip to content

Commit

Permalink
[fix](p0)Fix case timeout. (#40788)
Browse files Browse the repository at this point in the history
Fix case timeout.
  • Loading branch information
Jibing-Li committed Sep 26, 2024
1 parent 2f5be08 commit 020545e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions regression-test/suites/statistics/test_analyze_mv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ suite("test_analyze_mv") {
sql """drop database if exists test_analyze_mv"""
sql """create database test_analyze_mv"""
sql """use test_analyze_mv"""
sql """set global enable_auto_analyze=false"""

sql """CREATE TABLE mvTestDup (
key1 bigint NOT NULL,
Expand Down
9 changes: 2 additions & 7 deletions regression-test/suites/statistics/test_select_mv.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ suite("test_select_mv") {
);
"""

sql """
create materialized view dup1 as select key2, sum(value) from test_dup group by key2;
"""
createMV("create materialized view dup1 as select key2, sum(value) from test_dup group by key2;")

sql """CREATE TABLE test_agg (
key1 int NOT NULL,
Expand All @@ -83,10 +81,7 @@ suite("test_select_mv") {
);
"""

sql """
create materialized view agg1 as select key2, sum(value) from test_agg group by key2;
"""
wait_mv_finish("test_select_mv")
createMV("create materialized view agg1 as select key2, sum(value) from test_agg group by key2;")

sql """insert into test_dup values (1, 1, 1), (2, 2, 2)"""
sql """insert into test_dup values (1, 1, 1), (2, 2, 2)"""
Expand Down

0 comments on commit 020545e

Please sign in to comment.