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 77def2a7465 branch-3.1: [fix](regression-test)fix metric checker
ignore empty label values #54236 (#54241)
77def2a7465 is described below
commit 77def2a74653b862110b9fa1082a537180289e76
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 4 11:43:06 2025 +0800
branch-3.1: [fix](regression-test)fix metric checker ignore empty label
values #54236 (#54241)
Cherry-picked from #54236
Co-authored-by: koarz <[email protected]>
---
.../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]