xiangfu0 commented on code in PR #17167:
URL: https://github.com/apache/pinot/pull/17167#discussion_r3041148273


##########
pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java:
##########
@@ -1028,9 +1030,9 @@ private void 
performForceCommitSegmentMovingTest(RebalanceConfig rebalanceConfig
 
     // Check if segments were committed (only if there were consuming segments 
to move)
     if (originalConsumingSegmentsToMove != null && 
!originalConsumingSegmentsToMove.isEmpty()) {
-      response = 
sendGetRequest(getControllerRequestURLBuilder().forTableConsumingSegmentsInfo(getTableName()));
       ConsumingSegmentInfoReader.ConsumingSegmentsInfoMap 
consumingSegmentInfoResponse =
-          JsonUtils.stringToObject(response, 
ConsumingSegmentInfoReader.ConsumingSegmentsInfoMap.class);
+          
getOrCreateAdminClient().getTableClient().getConsumingSegmentsInfo(getTableName(),

Review Comment:
   getConsumingSegmentsInfo() should return ConsumingSegmentsInfoMap class 
directly 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to