This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new d0002d40cc4 branch-3.1: [fix](case) fix regression case
test_cluster_management_auth #53336 (#53370)
d0002d40cc4 is described below
commit d0002d40cc417fe91d7ea9a3afefd04fbfa36611
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jul 16 18:49:02 2025 +0800
branch-3.1: [fix](case) fix regression case test_cluster_management_auth
#53336 (#53370)
Cherry-picked from #53336
Co-authored-by: zhangdong <[email protected]>
---
.../suites/auth_call/test_cluster_management_auth.groovy | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git
a/regression-test/suites/auth_call/test_cluster_management_auth.groovy
b/regression-test/suites/auth_call/test_cluster_management_auth.groovy
index f769f29c967..c3c1692c405 100644
--- a/regression-test/suites/auth_call/test_cluster_management_auth.groovy
+++ b/regression-test/suites/auth_call/test_cluster_management_auth.groovy
@@ -76,10 +76,7 @@ suite
("test_cluster_management_auth","nonConcurrent,p0,auth_call") {
// pipeline can't support delete node, it can affect other case
if (is_exists_follower()) {
connect(user, "${pwd}", context.config.jdbcUrl) {
- test {
- sql """show frontends"""
- exception "denied"
- }
+ sql """show frontends"""
test {
sql """ALTER SYSTEM add FOLLOWER
'${follower_ip}:${follower_host}'"""
exception "denied"
@@ -93,10 +90,7 @@ suite
("test_cluster_management_auth","nonConcurrent,p0,auth_call") {
if (is_exists_observer()) {
connect(user, "${pwd}", context.config.jdbcUrl) {
- test {
- sql """show frontends"""
- exception "denied"
- }
+ sql """show frontends"""
test {
sql """ALTER SYSTEM add OBSERVER
'${observer_ip}:${observer_host}'"""
exception "denied"
@@ -110,10 +104,8 @@ suite
("test_cluster_management_auth","nonConcurrent,p0,auth_call") {
if (is_exists_backends()) {
connect(user, "${pwd}", context.config.jdbcUrl) {
- test {
- sql """show backends"""
- exception "denied"
- }
+ sql """show backends"""
+
test {
sql """ALTER SYSTEM add backend
'${backend_ip}:${backend_host}'"""
exception "denied"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]