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 bcc52a4a178 branch-3.0: [fix](regression-test)fix metric checker
ignore empty label values (#54236) (#54843)
bcc52a4a178 is described below
commit bcc52a4a178efee58260a564a80455ebccdb810f
Author: koarz <[email protected]>
AuthorDate: Fri Aug 15 21:06:50 2025 +0800
branch-3.0: [fix](regression-test)fix metric checker ignore empty label
values (#54236) (#54843)
pick: https://github.com/apache/doris/pull/54236
---
.../groovy/org/apache/doris/regression/util/PromethuesChecker.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/PromethuesChecker.groovy
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/PromethuesChecker.groovy
index 8a45052fb7f..cf6b5bb509d 100644
---
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/PromethuesChecker.groovy
+++
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/PromethuesChecker.groovy
@@ -28,7 +28,7 @@ class PromethuesChecker {
static boolean regexp(String s) {
if (s == null) return false
- s =~
/^[a-zA-Z_][a-zA-Z0-9_]*(\{[a-zA-Z_][a-zA-Z0-9_]*="[^"]+"(,[a-zA-Z_][a-zA-Z0-9_]*="[^"]+")*\})?\s+-?([0-9]+(\.[0-9]+)?([eE][+-]?[0-9]+)?)$/
+ s =~
/^[a-zA-Z_][a-zA-Z0-9_]*(\{[a-zA-Z_][a-zA-Z0-9_]*="[^"]*"(,[a-zA-Z_][a-zA-Z0-9_]*="[^"]*")*\})?\s+-?([0-9]+(\.[0-9]+)?([eE][+-]?[0-9]+)?)$/
}
static boolean check(String str) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]