rpuch commented on code in PR #5223:
URL: https://github.com/apache/ignite-3/pull/5223#discussion_r1954353271
##########
modules/table/src/test/java/org/apache/ignite/internal/table/distributed/replication/PartitionReplicaListenerTest.java:
##########
@@ -1414,6 +1415,19 @@ public void testWriteIntentOnPrimaryReplicaMultiRowOps()
{
cleanup(txId);
}
+ @Test
+ public void testCleanupOnCompactedCatalogVersion() {
+ UUID txId = newTxId();
+
+ BinaryRow testRow = binaryRow(0);
+
+ assertThat(doSingleRowRequest(txId, testRow, RW_INSERT),
willCompleteSuccessfully());
+
+ when(catalogService.activeCatalog(anyLong())).thenThrow(new
CatalogNotFoundException("Catalog not found"));
+
+ cleanup(txId);
Review Comment:
```suggestion
assertDoesNotThrow(() -> cleanup(txId));
```
--
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]