You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/04/09 02:01:08 UTC

[doris] 05/12: [fix](regression-test) print real and expect rows when fail in exception (#17949)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git

commit b5c7e39cb65b78a05e90ad413d444cfc76ad2a16
Author: Yongqiang YANG <98...@users.noreply.github.com>
AuthorDate: Tue Mar 21 08:52:04 2023 +0800

    [fix](regression-test) print real and expect rows when fail in exception (#17949)
---
 .../src/main/groovy/org/apache/doris/regression/util/OutputUtils.groovy  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/OutputUtils.groovy b/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/OutputUtils.groovy
index 957f3fb570..1da3e018b2 100644
--- a/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/OutputUtils.groovy
+++ b/regression-test/framework/src/main/groovy/org/apache/doris/regression/util/OutputUtils.groovy
@@ -132,6 +132,7 @@ class OutputUtils {
 
                     def res = checkCell(info, line, expectCell, realCell, dataType)
                     if(res != null) {
+                        res += "line ${line} mismatch\nExpectRow: ${expectRaw}\nRealRow: ${realRaw}";
                         return res
                     }
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org