sk0x50 commented on code in PR #7136:
URL: https://github.com/apache/ignite-3/pull/7136#discussion_r2598708450


##########
modules/partition-replicator/src/test/java/org/apache/ignite/internal/partition/replicator/handlers/TxCleanupRecoveryRequestHandlerTest.java:
##########
@@ -114,16 +112,17 @@ private void 
testInterruptsCleanupGracefullyOnStorageClosed(Supplier<? extends T
         when(iterator.hasNext()).thenThrow(exceptionFactory.get());
 
         TxCleanupRecoveryRequest request = 
txMessagesFactory.txCleanupRecoveryRequest()
-                .groupId(toReplicationGroupIdMessage(replicaMessagesFactory, 
replicationGroupId))
+                .groupId(toZonePartitionIdMessage(replicaMessagesFactory, 
replicationGroupId))
                 .build();
         assertThat(handler.handle(request), willCompleteSuccessfully());
 
         verify(failureProcessor, never()).process(any());
     }
 
-    private static List<EnlistedPartitionGroup> 
tableEnlistedPartitions(TablePartitionId... tablePartitionIds) {
-        return Arrays.stream(tablePartitionIds)
-                .map(tablePartitionId -> new 
EnlistedPartitionGroup(tablePartitionId, Set.of(tablePartitionId.tableId())))
+    private static List<EnlistedPartitionGroup> 
tableEnlistedPartitions(ZonePartitionId... zonePartitionIds) {

Review Comment:
   Yep, it makes sense to me.



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