This is an automated email from the ASF dual-hosted git repository.

huajianlan 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 bba78e6ea4d [fix](test) fix conflict create table by different 
regression test (#39004)
bba78e6ea4d is described below

commit bba78e6ea4d25d2975024e2ec268b21e1470a71a
Author: 924060929 <924060...@qq.com>
AuthorDate: Wed Aug 7 20:37:12 2024 +0800

    [fix](test) fix conflict create table by different regression test (#39004)
    
    fix conflict create table by different regression tests, introduced by
    #38796
---
 regression-test/README.md                                           | 1 +
 .../suites/show_p0/test_show_create_table_and_views_nereids.groovy  | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/regression-test/README.md b/regression-test/README.md
index f856f2141a6..f8404bbd77b 100644
--- a/regression-test/README.md
+++ b/regression-test/README.md
@@ -71,6 +71,7 @@ under the License.
 
     
[示例](https://github.com/apache/doris/blob/master/regression-test/suites/javaudf_p0/test_javaudf_case.groovy#L27)
 
+7. 同一个目录下不同case间不要创建相同的表,避免互相冲突
 
 ## 兼容性 case
 指重启 FE 测试或升级测试中,在初始集群上创建的资源或规则,在集群重启或升级后也能正常使用,比如权限、UDF等。
diff --git 
a/regression-test/suites/show_p0/test_show_create_table_and_views_nereids.groovy
 
b/regression-test/suites/show_p0/test_show_create_table_and_views_nereids.groovy
index 07bdfbfd821..c2829c8ea37 100644
--- 
a/regression-test/suites/show_p0/test_show_create_table_and_views_nereids.groovy
+++ 
b/regression-test/suites/show_p0/test_show_create_table_and_views_nereids.groovy
@@ -21,12 +21,12 @@ suite("test_show_create_table_and_views_nereids", "show") {
     def shouldNotShowHiddenColumnsAndCreateWithHiddenColumns = {
         connect {
             multi_sql """
-            drop table if exists test_show_create_table_no_hidden_column;
-            create table test_show_create_table_no_hidden_column(id int, name 
varchar(50)) unique key(id) distributed by hash(id) 
properties('replication_num'='1');
+            drop table if exists 
test_show_create_table_no_hidden_column_nereids;
+            create table test_show_create_table_no_hidden_column_nereids(id 
int, name varchar(50)) unique key(id) distributed by hash(id) 
properties('replication_num'='1');
             set show_hidden_columns=true;
             """
 
-            def result = JdbcUtils.executeToMapArray(context.getConnection(),  
"show create table test_show_create_table_no_hidden_column")
+            def result = JdbcUtils.executeToMapArray(context.getConnection(),  
"show create table test_show_create_table_no_hidden_column_nereids")
             assertTrue(!result[0].get("Create 
Table").toString().contains("__DORIS_DELETE_SIGN__"))
 
             test {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to