lizhanhui commented on PR #5000:
URL: https://github.com/apache/rocketmq/pull/5000#issuecomment-1238042515

   >  we need to add additional logic to release port 0 in NettyRemoteServer
   
   Read 
https://www.baeldung.com/cs/binding-available-ports#different-ways-to-bind-a-port
   
   > But I am worried that this method is too invasive because we need to 
interact based on the Remoting protocol, which will cause the thread timing to 
be out of order.
   
   Actually, this is the standard way to run tests in parallelism. I've spent 
some time investigating the potential changes required, finding we indeed need 
a few changes to the current code and dledger dependency. I am OK with the 
current status of this PR now that there is no achievable solution with changes 
less than 10 lines  
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to