lhotari commented on PR #24574: URL: https://github.com/apache/pulsar/pull/24574#issuecomment-3126811529
``` binaryServiceUrlBuilder.append(",127.0.0.1:").append(ThreadLocalRandom.current().nextInt(100, 1000)); httpServiceUrlBuilder.append(",127.0.0.1:").append(ThreadLocalRandom.current().nextInt(100, 1000)); ``` Instead of using random ports, use `PortManager.nextLockedFreePort()` to find ports that are not used. Release those in cleanup. -- 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...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org