[ https://issues.apache.org/jira/browse/CAMEL-3593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tracy Snell updated CAMEL-3593: ------------------------------- Attachment: patchfile.txt Pulled this from the Mina project. Made 2 modifications. Port searching will begin at 1024 to avoid privileged ports and removed the methods that return a Set of ports. The latter is potentially very slow. If the test writer needs a range they can write a simple loop instead (though that has to be a very rare use case for testing). > Add AvailablePortFinder to camel-test > -------------------------------------- > > Key: CAMEL-3593 > URL: https://issues.apache.org/jira/browse/CAMEL-3593 > Project: Camel > Issue Type: New Feature > Reporter: Tracy Snell > Attachments: patchfile.txt > > > Unit tests sometimes will conflict with existing ports in use on a machine. > AvailablePortFinder returns unused ports for use by tests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.