AMashenkov commented on code in PR #6978:
URL: https://github.com/apache/ignite-3/pull/6978#discussion_r2533771020
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/exec/rel/ScannableTableSelfTest.java:
##########
@@ -306,6 +308,8 @@ public void testIndexScanError(NoOpTransaction tx) {
@ParameterizedTest
@MethodSource("transactions")
public void testIndexScanInvalidCondition(NoOpTransaction tx) {
+ assumeTrue(IgniteUtils.assertionsEnabled(), "the test requires that
assertions be enabled");
Review Comment:
Do we get any meaningful exception when assertions are disabled?
I think we should throw `InvalidStateException` instead.
--
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]