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

dataroaring 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 b87c17c3b20 [case](auth)fix no such property jdbcUser (#48622)
b87c17c3b20 is described below

commit b87c17c3b20329b8967a7ca84c5fa52eb9d6534c
Author: zhangdong <zhangd...@selectdb.com>
AuthorDate: Tue Mar 4 19:22:53 2025 +0800

    [case](auth)fix no such property jdbcUser (#48622)
    
    fix no such property jdbcUser
    
    cause by: https://github.com/apache/doris/pull/47673
---
 .../test_master_slave_consistency_auth.groovy        | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy 
b/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy
index 0f483b91e18..9cc6836412a 100644
--- a/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy
+++ b/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy
@@ -116,7 +116,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         logger.info("url_tmp1:" + url_tmp1)
         logger.info("new_jdbc_url:" + new_jdbc_url)
         // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                 sql "sync"
         }
         connect(user, "${pwd}", url_tmp1) {
@@ -170,7 +170,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         }
         sql """grant select_priv(username) on ${dbName}.${tableName} to 
${user}"""
          // If exec on fe follower, wait meta data is ready on follower
-         connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+         connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                  sql "sync"
          }
         connect(user, "${pwd}", url_tmp1) {
@@ -199,7 +199,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         }
         sql """grant select_priv(username) on ${dbName}.${view_name} to 
${user}"""
          // If exec on fe follower, wait meta data is ready on follower
-         connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+         connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                  sql "sync"
          }
         connect(user, "${pwd}", url_tmp1) {
@@ -228,7 +228,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         }
         sql """grant select_priv(username) on ${dbName}.${mtmv_name} to 
${user}"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -245,7 +245,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         // user
         sql """grant select_priv on ${dbName}.${tableName} to ${user}"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -257,7 +257,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
 
         sql """revoke select_priv on ${dbName}.${tableName} from ${user}"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -282,7 +282,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         sql """grant Load_priv on ${dbName}.${tableName} to ROLE '${role}'"""
         sql """grant '${role}' to '${user}'"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -296,7 +296,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
 
         sql """revoke '${role}' from '${user}'"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -338,7 +338,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         }
         sql """GRANT USAGE_PRIV ON WORKLOAD GROUP '${wg}' TO '${user}';"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {
@@ -361,7 +361,7 @@ suite ("test_follower_consistent_auth","p0,auth") {
         }
         sql """GRANT USAGE_PRIV ON RESOURCE ${rg} TO ${user};"""
          // If exec on fe follower, wait meta data is ready on follower
-        connect(jdbcUser, "${jdbcPassword}", new_jdbc_url) {
+        connect(context.config.jdbcUser, context.config.jdbcPassword, 
new_jdbc_url) {
                          sql "sync"
                  }
         connect(user, "${pwd}", url_tmp1) {


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

Reply via email to