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

dataroaring 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 4e65da9cc4a branch-3.0: [fix](test) Disable alter resource test in 
cloud mode #54823 (#54906)
4e65da9cc4a is described below

commit 4e65da9cc4a6e061f147e083dde5f92b18463d38
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 18 09:22:54 2025 +0800

    branch-3.0: [fix](test) Disable alter resource test in cloud mode #54823 
(#54906)
    
    Cherry-picked from #54823
    
    Co-authored-by: zy-kkk <[email protected]>
---
 .../external_table_p0/jdbc/test_jdbc_query_mysql.groovy    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/regression-test/suites/external_table_p0/jdbc/test_jdbc_query_mysql.groovy 
b/regression-test/suites/external_table_p0/jdbc/test_jdbc_query_mysql.groovy
index 16c99826311..7b973331959 100644
--- a/regression-test/suites/external_table_p0/jdbc/test_jdbc_query_mysql.groovy
+++ b/regression-test/suites/external_table_p0/jdbc/test_jdbc_query_mysql.groovy
@@ -1058,14 +1058,14 @@ suite("test_jdbc_query_mysql", 
"p0,external,mysql,external_docker,external_docke
 
         // TODO: check this, maybe caused by datasource in JDBC
         // test alter resource
-        sql """alter resource $jdbcResourceMysql57 properties("password" = 
"1234567")"""
-        test {
-            sql """select count(*) from $jdbcMysql57Table1"""
-            exception "Access denied for user"
+        if (!isCloudMode()) {
+            sql """alter resource $jdbcResourceMysql57 properties("password" = 
"1234567")"""
+            test {
+                sql """select count(*) from $jdbcMysql57Table1"""
+                exception "Access denied for user"
+            }
+            sql """alter resource $jdbcResourceMysql57 properties("password" = 
"123456")"""
         }
-        sql """alter resource $jdbcResourceMysql57 properties("password" = 
"123456")"""
-
-
     }
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to