jamesnetherton commented on issue #1370:
URL: https://github.com/apache/camel-quarkus/issues/1370#issuecomment-646466137


   Fortunately this just reoccurred on the quarkus-master nightly job 
[here](https://github.com/apache/camel-quarkus/runs/786736342?check_suite_focus=true).
 Looking at the logs, all of the random ports allocated by the 
`build-helper-maven-plugin` look unique:
   
   32769
   32983
   34241
   37135
   41365
   41481
   43313
   44435
   44505
   45503
   45859
   46267
   
   I wonder if the 
[plugin](https://github.com/mojohaus/build-helper-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/buildhelper/ReserveListenerPortMojo.java#L133)
 should do `setReuseAddress(true)` on the `ServerSocket` it creates? IIRC, 
`close()` potentially does not immediately free the socket. It may be in left 
in `TIME_WAIT` for some period. Perhaps when the tests run and attempt to use 
the port, it has still not been freed.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to