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

panxiaolei 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 30915c8626 [Bug](regression-framework) fix regression framework throw 
strange exception (#16273)
30915c8626 is described below

commit 30915c8626de5398ebb39cdca7a6925d35d8c476
Author: lihangyu <[email protected]>
AuthorDate: Tue Jan 31 16:52:19 2023 +0800

    [Bug](regression-framework) fix regression framework throw strange 
exception (#16273)
    
    fix regression framework throw strange exception
---
 .../src/main/groovy/org/apache/doris/regression/suite/Suite.groovy    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
 
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
index d74be3947b..0cbde97baa 100644
--- 
a/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
+++ 
b/regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
@@ -466,11 +466,11 @@ class Suite implements GroovyInterceptable {
                     { row ->  OutputUtils.toCsvString(row) },
                     "Check tag '${tag}' failed", meta)
             } catch (Throwable t) {
-                throw new IllegalStateException("Check tag '${tag}' failed, 
sql:\n${sql}", t)
+                throw new IllegalStateException("Check tag '${tag}' failed, 
sql:\n${arg}", t)
             }
             if (errorMsg != null) {
                 logger.warn("expect results: " + expectCsvResults + 
"\nrealResults: " + realResults)
-                throw new IllegalStateException("Check tag '${tag}' 
failed:\n${errorMsg}\n\nsql:\n${sql}")
+                throw new IllegalStateException("Check tag '${tag}' 
failed:\n${errorMsg}\n\nsql:\n${arg}")
             }
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to