This is an automated email from the ASF dual-hosted git repository. airborne pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new da48c9f4226 [fix](test) fix test case for inverted index up down case (#47645) da48c9f4226 is described below commit da48c9f4226e4489ee07a8eb4d8162de5ca81166 Author: airborne12 <jiang...@selectdb.com> AuthorDate: Sat Feb 8 21:42:10 2025 +0800 [fix](test) fix test case for inverted index up down case (#47645) --- .../suites/inverted_index_up_down_p0/inverted_index.groovy | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/regression-test/suites/inverted_index_up_down_p0/inverted_index.groovy b/regression-test/suites/inverted_index_up_down_p0/inverted_index.groovy index bc0ebd1b6e5..e767230bcb0 100644 --- a/regression-test/suites/inverted_index_up_down_p0/inverted_index.groovy +++ b/regression-test/suites/inverted_index_up_down_p0/inverted_index.groovy @@ -114,7 +114,7 @@ suite("test_upgrade_downgrade_compatibility_inverted_index","p0,inverted_index,r } } sql "alter table ${tableName} drop index idx_b" - + wait_for_latest_op_on_table_finish(tableName, timeout) // unique table tableName = "t_up_down_inverted_index${version}_unique" result = sql(String.format("show create table %s", tableName)) @@ -132,12 +132,12 @@ suite("test_upgrade_downgrade_compatibility_inverted_index","p0,inverted_index,r sql "alter table ${tableName} add index idx_b(b)" wait_for_latest_op_on_table_finish(tableName, timeout) - sql "alter table ${tableName} add index idx_en(en) using inverted properties(\"parser\" = \"english\", \"support_phrase\" = \"true\")" - wait_for_latest_op_on_table_finish(tableName, timeout) if (!isCloudMode()) { sql "build index idx_b on ${tableName}" wait_for_build_index_on_partition_finish(tableName, timeout) } + sql "alter table ${tableName} add index idx_en(en) using inverted properties(\"parser\" = \"english\", \"support_phrase\" = \"true\")" + wait_for_latest_op_on_table_finish(tableName, timeout) if (!isCloudMode()) { sql "build index idx_en on ${tableName}" wait_for_build_index_on_partition_finish(tableName, timeout) @@ -174,7 +174,9 @@ suite("test_upgrade_downgrade_compatibility_inverted_index","p0,inverted_index,r } } sql "alter table ${tableName} drop index idx_b" + wait_for_latest_op_on_table_finish(tableName, timeout) sql "alter table ${tableName} drop index idx_en" + wait_for_latest_op_on_table_finish(tableName, timeout) // agg table tableName = "t_up_down_inverted_index${version}_agg" @@ -220,5 +222,6 @@ suite("test_upgrade_downgrade_compatibility_inverted_index","p0,inverted_index,r } } sql "alter table ${tableName} drop index idx_b" + wait_for_latest_op_on_table_finish(tableName, timeout) } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org