adoroszlai opened a new pull request, #996:
URL: https://github.com/apache/ratis/pull/996

   ## What changes were proposed in this pull request?
   
   Let tests use ports assigned via `AtomicInteger.getAndIncrement()` instead 
of random ones.
   
   https://issues.apache.org/jira/browse/RATIS-1981
   
   ## How was this patch tested?
   
   Ran `TestGroupManagementWithGrpc` 500x.  [Failed in 3/500 
runs](https://github.com/adoroszlai/ratis/actions/runs/7251949572/job/19759588739)
 (due to port conflict) on `master`, 
[passed](https://github.com/adoroszlai/ratis/actions/runs/7251954388) without 
failures with the patch.
   
   The same `PortAllocator` logic has been in use in Ozone integration tests 
for 6 months now, without any problems.
   
   CI:
   https://github.com/adoroszlai/ratis/actions/runs/7251766364


-- 
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