xiangfu0 commented on code in PR #17167:
URL: https://github.com/apache/pinot/pull/17167#discussion_r3041134745
##########
pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/StaleSegmentCheckIntegrationTest.java:
##########
@@ -165,10 +163,9 @@ public void testH3IndexChange()
}
private Map<String, TableStaleSegmentResponse> getStaleSegmentsResponse()
- throws IOException {
- return JsonUtils.stringToObject(sendGetRequest(
- _controllerRequestURLBuilder.forStaleSegments(
- TableNameBuilder.OFFLINE.tableNameWithType(getTableName()))),
+ throws Exception {
+ return getOrCreateAdminClient().getSegmentClient().getStaleSegments(
Review Comment:
getStaleSegments() method should return `Map<String,
TableStaleSegmentResponse>`
--
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]