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


##########
modules/distribution-zones/src/integrationTest/java/org/apache/ignite/internal/distributionzones/ItDistributionZonesFiltersTest.java:
##########
@@ -138,11 +142,15 @@ void 
testFilteredDataNodesPropagatedToStable(ConsistencyMode consistencyMode) th
 
         TableViewInternal table = (TableViewInternal) 
tableManager.table(TABLE_NAME);
 
-        TablePartitionId partId = new TablePartitionId(table.tableId(), 0);
+        PartitionGroupId partId = enabledColocation()

Review Comment:
   Extracted to `TestRebalanceUtil` class.



##########
modules/distribution-zones/src/integrationTest/java/org/apache/ignite/internal/distributionzones/ItDistributionZonesFiltersTest.java:
##########
@@ -138,11 +142,15 @@ void 
testFilteredDataNodesPropagatedToStable(ConsistencyMode consistencyMode) th
 
         TableViewInternal table = (TableViewInternal) 
tableManager.table(TABLE_NAME);
 
-        TablePartitionId partId = new TablePartitionId(table.tableId(), 0);
+        PartitionGroupId partId = enabledColocation()
+                ? new ZonePartitionId(table.zoneId(), 0)
+                : new TablePartitionId(table.tableId(), 0);
 
         assertValueInStorage(
                 metaStorageManager,
-                stablePartAssignmentsKey(partId),
+                enabledColocation()

Review Comment:
   Extracted to `TestRebalanceUtil` class.



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