[
https://issues.apache.org/jira/browse/IGNITE-21623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17822585#comment-17822585
]
Kirill Sizov commented on IGNITE-21623:
----------------------------------------
Same happened in another test
{code}
[2024-02-29T14:52:23,681][INFO ][Test
worker][ItTxDistributedTestThreeNodesThreeReplicasCollocated] >>> Stopping
test:
ItTxDistributedTestThreeNodesThreeReplicasCollocated#testDeleteUpsertAllCommit,
displayName: testDeleteUpsertAllCommit(), cost: 3301ms.
org.apache.ignite.distributed.ItTxDistributedTestThreeNodesThreeReplicasCollocated.testDeleteUpsertAllCommit()]
java.lang.NullPointerException
at
org.apache.ignite.internal.table.TxAbstractTest.deleteUpsertAll(TxAbstractTest.java:452)
at
org.apache.ignite.internal.table.TxAbstractTest.testDeleteUpsertAllCommit(TxAbstractTest.java:427)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
{code}
> Test fails
> ItTxDistributedTestThreeNodesThreeReplicas.testBatchSinglePartitionGet
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-21623
> URL: https://issues.apache.org/jira/browse/IGNITE-21623
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Attachments: Module Table 20487 log.zip,
> _Integration_Tests_Module_Table_20271.log (1).zip
>
>
> The test fails very rarely, but this is a violation of transaction
> guarantees. This test fails to get committed entries:
> {code}
> for (Tuple tuple : accountRecordsView.getAll(null, keys.stream().map(k ->
> makeKey(k)).collect(toList()))) {
> assertEquals(100., tuple.doubleValue("balance"));
> }
> {code}
> Instead, NPE is received:
> {noformat}
> java.lang.NullPointerException
> at
> org.apache.ignite.internal.table.TxAbstractTest.testBatchSinglePartitionGet(TxAbstractTest.java:2274)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)