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

hellostephen pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new a93ae03ecb0 branch-2.1: [fix](case)fix manager regression case. #45993 
(#46033)
a93ae03ecb0 is described below

commit a93ae03ecb00f27b6ad02d86fde40b4ed645279c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 26 22:32:28 2024 +0800

    branch-2.1: [fix](case)fix manager regression case. #45993 (#46033)
    
    Cherry-picked from #45993
    
    Co-authored-by: daidai <changyu...@selectdb.com>
---
 .../suites/manager/test_manager_interface_1.groovy           | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/regression-test/suites/manager/test_manager_interface_1.groovy 
b/regression-test/suites/manager/test_manager_interface_1.groovy
index 91738cfb6ba..02186974ef9 100644
--- a/regression-test/suites/manager/test_manager_interface_1.groovy
+++ b/regression-test/suites/manager/test_manager_interface_1.groovy
@@ -280,17 +280,7 @@ suite('test_manager_interface_1',"p0") {
         def ddl_str =  result[0][1] 
         def idx =  ddl_str.indexOf("PROPERTIES")
         assertTrue(idx != -1 );
-        assertTrue( ddl_str.startsWith("""CREATE TABLE `test_manager_tb_1` (
-  `k1` tinyint NULL,
-  `k2` decimal(10,2) NULL DEFAULT "10.05",
-  `k3` char(10) NULL COMMENT 'string column',
-  `k4` int NOT NULL DEFAULT "1" COMMENT 'int column',
-  `k5` text NULL
-) ENGINE=OLAP
-DUPLICATE KEY(`k1`, `k2`, `k3`)
-COMMENT 'manager_test_table'
-DISTRIBUTED BY HASH(`k1`) BUCKETS 1"""))
-
+        assertTrue(ddl_str.contains("CREATE TABLE `test_manager_tb_1`"));
         sql """ drop table test_manager_tb_1 """ 
         result = sql """ show tables """ 
         assertTrue(result.size() == 0)        


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

Reply via email to