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


##########
modules/table/src/integrationTest/java/org/apache/ignite/internal/table/distributed/disaster/AbstractHighAvailablePartitionsRecoveryTest.java:
##########
@@ -155,9 +155,15 @@ private void assertRecoveryRequestForZoneTable(IgniteImpl 
node, String zoneName,
         int zoneId = catalog.zone(zoneName).id();
         int tableId = catalog.table(SCHEMA_NAME, tableName).id();
 
-        assertEquals(zoneId, request.zoneId());
-        assertEquals(of(tableId, PARTITION_IDS), request.partitionIds());
-        assertFalse(request.manualUpdate());
+        if (enabledColocation()) {
+            assertEquals(zoneId, request.zoneId());
+            assertEquals(of(zoneId, PARTITION_IDS), request.partitionIds());
+            assertFalse(request.manualUpdate());
+        } else {
+            assertEquals(zoneId, request.zoneId());
+            assertEquals(of(tableId, PARTITION_IDS), request.partitionIds());
+            assertFalse(request.manualUpdate());

Review Comment:
   Two lines are similar in both branches



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to