valepakh commented on code in PR #7922:
URL: https://github.com/apache/ignite-3/pull/7922#discussion_r3032317394
##########
modules/compute/src/integrationTest/java/org/apache/ignite/internal/compute/ItComputeBaseTest.java:
##########
@@ -1019,4 +1080,10 @@ private static Matcher<Exception>
computeJobCancelledException() {
.or(instanceOf(CancellationException.class))
);
}
+
+ private static Matcher<Exception> sqlCancelledException() {
+ return traceableException(SqlException.class)
+ .withCode(is(EXECUTION_CANCELLED_ERR))
+ .withMessage(is("The query was cancelled while executing."));
Review Comment:
This is fine — the message comes from our own SQL engine and is stable.
Exact matching ensures we catch unintended message changes.
--
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]