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 3936408ec88 branch-3.0: [case](auth)fix no such property jdbcUser
#48622 (#48633)
3936408ec88 is described below
commit 3936408ec8877e3fc89e1ef4daddeb6385a3986e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Mar 7 10:03:14 2025 +0800
branch-3.0: [case](auth)fix no such property jdbcUser #48622 (#48633)
Cherry-picked from #48622
Co-authored-by: zhangdong <[email protected]>
---
.../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 1cdf1e83cfc..f22b99d7b9d 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: [email protected]
For additional commands, e-mail: [email protected]