uschindler commented on pull request #1842:
URL: https://github.com/apache/lucene-solr/pull/1842#issuecomment-689117698


   I pushed some fixes:
   - Removed the AtomicInteger for the port number. As the server is running in 
test, we just call the server directly and it uses a Consumer(InetAddr) as 
callback.
   - Because of the callback, we can start the child processes without using a 
thread(pool).
   - Cleanup of processes improved.
   
   Keep in mind: The waitFor of 15s is is now way too much. Once the server 
ended and we run into the cleanup, all processes dies already, because the 
server shuts down when all clients dicsonnected. The cleanup is only needed if 
anything goes wrong on startup (like client can't connect to server due to 
network error on lo interface).


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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to