Skip to content

Commit

Permalink
[UT] Fix unstable mv sql tests (#51704)
Browse files Browse the repository at this point in the history
Signed-off-by: shuming.li <[email protected]>
(cherry picked from commit 716434a)
  • Loading branch information
LiShuMing committed Nov 4, 2024
1 parent c930f25 commit 4ecabe6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,4 +552,4 @@ private void assertMVActiveEquals(String mvName, boolean expect) {
MaterializedView mv = (MaterializedView) mvTable;
Assert.assertEquals(mv.isActive(), expect);
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- name: test_mv_refresh_with_the_same_tables
-- name: test_mv_refresh_with_the_same_tables @slow
CREATE TABLE `t1` (
`k1` int(11) NULL COMMENT "",
`k2` decimal(38, 8) NULL COMMENT "",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- name: test_mv_refresh_with_the_same_tables
-- name: test_mv_refresh_with_the_same_tables @slow
CREATE TABLE `t1` (
`k1` int(11) NULL COMMENT "",
`k2` decimal(38, 8) NULL COMMENT "",
Expand Down
2 changes: 1 addition & 1 deletion test/sql/test_transparent_mv/R/test_transparent_mv_mysql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- name: test_transparent_mv_mysql
-- name: test_transparent_mv_mysql @slow
shell: mysql -h${external_mysql_ip} -u${external_mysql_user} -p${external_mysql_password} -P${external_mysql_port} -e 'create database mv_mysql_db_${uuid0};'
-- result:
0
Expand Down
2 changes: 1 addition & 1 deletion test/sql/test_transparent_mv/T/test_transparent_mv_mysql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- name: test_transparent_mv_mysql
-- name: test_transparent_mv_mysql @slow
-- create mysql table
shell: mysql -h${external_mysql_ip} -u${external_mysql_user} -p${external_mysql_password} -P${external_mysql_port} -e 'create database mv_mysql_db_${uuid0};'
shell: mysql -h${external_mysql_ip} -u${external_mysql_user} -p${external_mysql_password} -P${external_mysql_port} -e 'use mv_mysql_db_${uuid0}; CREATE TABLE t1 (num int, dt date) PARTITION BY range columns(dt) (PARTITION p20200614 VALUES LESS THAN ("2020-06-15"),PARTITION p20200617 VALUES LESS THAN ("2020-06-18"),PARTITION p20200620 VALUES LESS THAN ("2020-06-21"),PARTITION p20200623 VALUES LESS THAN ("2020-06-24"),PARTITION p20200701 VALUES LESS THAN ("2020-07-02"),PARTITION p20200704 VALUES LESS THAN ("2020-07-05"),PARTITION p20200707 VALUES LESS THAN ("2020-07-08"),PARTITION p20200710 VALUES LESS THAN ("2020-07-11"),PARTITION p20200715 VALUES LESS THAN ("2020-07-16"),PARTITION p20200718 VALUES LESS THAN ("2020-07-19"),PARTITION p20200721 VALUES LESS THAN ("2020-07-22"),PARTITION p20200724 VALUES LESS THAN ("2020-07-31"));'
Expand Down

0 comments on commit 4ecabe6

Please sign in to comment.