zhangstar333 commented on code in PR #30662: URL: https://github.com/apache/doris/pull/30662#discussion_r1473711560
########## fe/fe-core/src/test/java/org/apache/doris/utframe/AnotherDemoTest.java: ########## @@ -80,17 +80,17 @@ public static void tearDown() { // generate all port from valid ports private static void getPorts() { - fe_http_port = UtFrameUtils.findValidPort(); Review Comment: some case failed as get the same port, but system have a lots of free port. I guess as call findValidPort without lock and have multi same implementation of findValidPort in different files. so I add synchronized and all call findValidPort from UtPortUtil file. -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org