Jackie-Jiang commented on code in PR #13525: URL: https://github.com/apache/pinot/pull/13525#discussion_r1663281844
########## pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/relocation/SegmentRelocatorTest.java: ########## @@ -126,7 +127,7 @@ public void testRebalanceTablesSequentially() relocator.putTableToWait("t_" + i); } for (int i = 0; i < cnt; i++) { - relocator.putTableToWait("t_" + RandomUtils.nextInt(0, cnt)); + relocator.putTableToWait("t_" + RandomNumberUtils.getRandomProvider().nextInt(0, cnt)); Review Comment: Avoid creating random number provider in a for loop -- 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