This is an automated email from the ASF dual-hosted git repository.
englefly pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 266a22453ad [fix](regression) multi-contains in ExplainAction print
undefined string (#46095)
266a22453ad is described below
commit 266a22453ade58eba72b0d29c623bac1ac568c03
Author: minghong <[email protected]>
AuthorDate: Mon Dec 30 23:48:02 2024 +0800
[fix](regression) multi-contains in ExplainAction print undefined string
(#46095)
### What problem does this PR solve?
---
.../main/groovy/org/apache/doris/regression/action/ExplainAction.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/ExplainAction.groovy
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/ExplainAction.groovy
index 9fc19c91a4a..079fb28becb 100644
---
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/ExplainAction.groovy
+++
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/ExplainAction.groovy
@@ -123,7 +123,7 @@ class ExplainAction implements SuiteAction {
for (Map.Entry entry : multiContainsStrings) {
int count = explainString.count(entry.key);
if (count != entry.value) {
- String msg = ("Explain and check failed, expect
multiContains '${string}' , '${entry.value}' times, actural '${count}' times."
+ String msg = ("Explain and check failed, expect
multiContains '${entry.key}' , '${entry.value}' times, actural '${count}'
times."
+ "Actual explain string
is:\n${explainString}").toString()
def t = new IllegalStateException(msg)
throw t
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]