J-HowHuang commented on code in PR #15175: URL: https://github.com/apache/pinot/pull/15175#discussion_r1994424450
########## pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java: ########## @@ -878,9 +878,10 @@ private void checkRebalancePreCheckStatus(RebalanceResult rebalanceResult, Rebal assertEquals(rebalanceResult.getStatus(), expectedStatus); Map<String, String> preChecksResult = rebalanceResult.getPreChecksResult(); assertNotNull(preChecksResult); - assertEquals(preChecksResult.size(), 2); + assertEquals(preChecksResult.size(), 3); assertTrue(preChecksResult.containsKey(DefaultRebalancePreChecker.IS_MINIMIZE_DATA_MOVEMENT)); assertTrue(preChecksResult.containsKey(DefaultRebalancePreChecker.NEEDS_RELOAD_STATUS)); + assertTrue(preChecksResult.containsKey(DefaultRebalancePreChecker.DISK_UTILIZATION)); Review Comment: It's not impossible but multiple lines of code is needed. Since that the value of this check item was tested in `TableRebalancerClusterStatelessTest.testRebalancePreCheckerDiskUtil`, do you think we can just check the existence of the item here? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org