You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2025/11/14 14:00:00 UTC
[jira] [Assigned] (IGNITE-27059) Sql. Rework tests that fail when assertions are disabled
[ https://issues.apache.org/jira/browse/IGNITE-27059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pereslegin reassigned IGNITE-27059:
-----------------------------------------
Assignee: Pavel Pereslegin
> Sql. Rework tests that fail when assertions are disabled
> --------------------------------------------------------
>
> Key: IGNITE-27059
> URL: https://issues.apache.org/jira/browse/IGNITE-27059
> Project: Ignite
> Issue Type: Improvement
> Components: sql ai3
> Reporter: Pavel Pereslegin
> Assignee: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> Ticket created based on IGNITE-26935 and this TC run with disabled assertions: https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests?branch=pull%2F6916&buildTypeTab=overview
> We need to rework the following unit tests that check that the production code will throw an AssertionError, and we want to get rid of such checks in unit test.
> ExecutionTargetFactorySelfTest.emptyTargets
> GroupingAccumulatorTest.testFactory
> GroupingAccumulatorTest.emptyState
> GroupingAccumulatorTest.accumulatorIgnoresValues
> QueryCheckerTest.testMetadata
> ScannableTableSelfTest.testIndexScanInvalidCondition
> Investigate and fix behavior of the following e2e jdbc test:
> ItJdbcComplexDmlDdlSelfTest.testCreateSelectDrop
> When assertions are disabled it fails with
> {noformat}
> org.opentest4j.AssertionFailedError: Invalid rows count ==> expected: <0> but was: <50>
> at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
> at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
> at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:563)
> at app//org.apache.ignite.jdbc.ItJdbcComplexDmlDdlSelfTest.testCreateSelectDrop(ItJdbcComplexDmlDdlSelfTest.java:102)
> at java.base@17.0.6/java.lang.reflect.Method.invoke(Method.java:568)
> at java.base@17.0.6/java.util.ArrayList.forEach(ArrayList.java:1511)
> at java.base@17.0.6/java.util.ArrayList.forEach(ArrayList.java:1511)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)