korlov42 commented on code in PR #2335:
URL: https://github.com/apache/ignite-3/pull/2335#discussion_r1268987745
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/planner/AbstractPlannerTest.java:
##########
@@ -570,6 +570,10 @@ protected <T extends RelNode> void assertPlan(
return;
}
} catch (Throwable th) {
+ if (lastErrorMsg == null) {
Review Comment:
well, it's a bit messy... This variable is just a field of an abstract
class. Every test in test class extending `AbstractPlannerTest` will overwrite
this variable if validation has failed. So, this is the last error message for
test class, but this is a first and only error message for test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]