npawar commented on a change in pull request #7066: URL: https://github.com/apache/pinot/pull/7066#discussion_r682955117
########## File path: pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/realtime/segment/FlushThresholdUpdaterTest.java ########## @@ -367,7 +371,7 @@ public void testSegmentSizeBasedUpdaterWithModifications() { mockAutotuneStreamConfig(flushSegmentDesiredSizeBytes, flushThresholdTimeMillis, flushAutotuneInitialRows); committingSegmentZKMetadata = getCommittingSegmentZKMetadata(creationTime, sizeThreshold, numRowsConsumed); flushThresholdUpdater.updateFlushThreshold(streamConfig, newSegmentZKMetadata, committingSegmentDescriptor, - committingSegmentZKMetadata, 1); + committingSegmentZKMetadata, 1, Collections.emptyList()); Review comment: is it possible to add at least 1 test that exercises this 1) where it picks 0 2) it picks another partition id which is lowest -- 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