Skip to content

Commit 8e9f94c

Browse files
committed
fix
1 parent 6103b0c commit 8e9f94c

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

regression-test/framework/src/main/groovy/org/apache/doris/regression/util/DebugPoint.groovy

+18-2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ class DebugPoint {
103103
def enableDebugPointForAllBEs(String name, Map<String, String> params = null) {
104104
operateDebugPointForAllBEs({ host, port ->
105105
logger.info("enable debug point ${name} with params ${params} for BE $host:$port")
106+
if (port == -1) {
107+
logger.info("skip for BE $host:$port")
108+
return
109+
}
106110
enableDebugPoint(host, port, NodeType.BE, name, params)
107111
})
108112
}
@@ -111,6 +115,10 @@ class DebugPoint {
111115
def disableDebugPointForAllBEs(String name) {
112116
operateDebugPointForAllBEs { host, port ->
113117
logger.info("disable debug point ${name} for BE $host:$port")
118+
if (port == -1) {
119+
logger.info("skip for BE $host:$port")
120+
return
121+
}
114122
disableDebugPoint(host, port, NodeType.BE, name)
115123
}
116124
}
@@ -119,6 +127,10 @@ class DebugPoint {
119127
def clearDebugPointsForAllBEs() {
120128
operateDebugPointForAllBEs { host, port ->
121129
logger.info("clear debug point for BE $host:$port")
130+
if (port == -1) {
131+
logger.info("skip for BE $host:$port")
132+
return
133+
}
122134
clearDebugPoints(host, port, NodeType.BE)
123135
}
124136
}
@@ -137,6 +149,10 @@ class DebugPoint {
137149
def enableDebugPointForAllFEs(String name, Map<String, String> params = null) {
138150
operateDebugPointForAllFEs({ host, port ->
139151
logger.info("enable debug point ${name} with params ${params} for FE $host:$port")
152+
if (port == -1) {
153+
logger.info("skip for FE $host:$port")
154+
return
155+
}
140156
enableDebugPoint(host, port, NodeType.FE, name, params)
141157
})
142158
}
@@ -145,7 +161,7 @@ class DebugPoint {
145161
operateDebugPointForAllFEs { host, port ->
146162
logger.info("disable debug point ${name} for FE $host:$port")
147163
if (port == -1) {
148-
logger.info("skip for BE $host:$port")
164+
logger.info("skip for FE $host:$port")
149165
return
150166
}
151167
disableDebugPoint(host, port, NodeType.FE, name)
@@ -156,7 +172,7 @@ class DebugPoint {
156172
operateDebugPointForAllFEs { host, port ->
157173
logger.info("clear debug point for FE $host:$port")
158174
if (port == -1) {
159-
logger.info("skip for BE $host:$port")
175+
logger.info("skip for FE $host:$port")
160176
return
161177
}
162178
clearDebugPoints(host, port, NodeType.FE)

regression-test/suites/cloud_p0/auth/test_grant_revoke_compute_group_to_user.groovy

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ suite("test_grant_revoke_compute_group_to_user", "cloud_auth") {
6666
}
6767

6868
def groups = sql " SHOW COMPUTE GROUPS; "
69+
logger.info("compute groups {}", groups);
6970
assertTrue(!groups.isEmpty())
7071
def validCluster = groups[0][0]
7172

0 commit comments

Comments
 (0)