From a73524af498bec5ebbf5ac8604f59b41d912f3fe Mon Sep 17 00:00:00 2001 From: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com> Date: Tue, 21 Mar 2023 08:52:04 +0800 Subject: [PATCH] [fix](regression-test) print real and expect rows when fail in exception (#17949) --- .../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 05353cbd1b..757a4a593f 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 @@ -141,6 +141,7 @@ class OutputUtils { def res = checkCell(info, line, expectCell, realCell, dataType) if(res != null) { + res += "line ${line} mismatch\nExpectRow: ${expectRaw}\nRealRow: ${realRaw}"; return res } }