Cyrill commented on code in PR #2751:
URL: https://github.com/apache/ignite-3/pull/2751#discussion_r1382923648


##########
modules/table/src/integrationTest/java/org/apache/ignite/distributed/ItTxDistributedTestSingleNode.java:
##########
@@ -238,6 +238,7 @@ protected boolean assertPartitionsSame(TableImpl table, int 
partId) {
     protected void injectFailureOnNextOperation(TableImpl accounts) {
         InternalTable internalTable = accounts.internalTable();
         ReplicaService replicaService = 
IgniteTestUtils.getFieldValue(internalTable, "replicaSvc");
+        Mockito.doReturn(CompletableFuture.failedFuture(new 
Exception())).when(replicaService).invoke((String) any(), any());
         Mockito.doReturn(CompletableFuture.failedFuture(new 
Exception())).when(replicaService).invoke((ClusterNode) any(), any());

Review Comment:
   yes we do in InternalTableImpl



-- 
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]

Reply via email to