[ 
https://issues.apache.org/jira/browse/CAMEL-9493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091206#comment-15091206
 ] 

Quinn Stevenson commented on CAMEL-9493:
----------------------------------------

The test uses org.apache.camel.test.AvailablePortFinder.getNextAvailable() for 
each run, and it is getting a new port for each of the two tests in the test 
class when I run it locally.

I can't seem to reproduce the BindException on my workstation.  Can you tell me 
what OS and Java version the CI server is running so I can try and reproduce?  




> camel-mllp - Use dynamic assigned port number for testing
> ---------------------------------------------------------
>
>                 Key: CAMEL-9493
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9493
>             Project: Camel
>          Issue Type: Test
>          Components: camel-mllp
>            Reporter: Claus Ibsen
>             Fix For: 2.17.0
>
>
> We should use dynamic ports instead of hardcoded, as the latter causes CI 
> servers and the likes to fail with "Address already in use" errors.
> See how camel-hl7 / camel-mina2 etc assign dynamic ports in their tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to