You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/01/21 17:14:12 UTC

[jira] [Commented] (CAMEL-4814) Use dynamic port numbers for unit tests the examples

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

Claus Ibsen commented on CAMEL-4814:
------------------------------------

David, do you know where we are with this?

I guess the examples like
- loan-broker
- osgi-rmi
- report-incident
- report-incident-security
- spring-jms

May still use static port numbers for testing?
                
> Use dynamic port numbers for unit tests the examples
> ----------------------------------------------------
>
>                 Key: CAMEL-4814
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4814
>             Project: Camel
>          Issue Type: Task
>          Components: examples
>            Reporter: Claus Ibsen
>            Assignee: David Valeri
>             Fix For: 2.11.0
>
>
> Its a bit annoying that CI servers and whatnot fail tests due to a port number in use issue when testing the examples.
> > org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 9,000: Address already in use
> We should use dynamic port numbers, like we do when testing components. camel-test has a util class to find a free port number.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira