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 2017/02/28 12:28:45 UTC

[jira] [Resolved] (CAMEL-10601) camel-mongodb-gridfs - Use dynamic ports for tests

     [ https://issues.apache.org/jira/browse/CAMEL-10601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-10601.
---------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s:     (was: Future)
                   2.19.0

Yeah it seems it has been fixed

> camel-mongodb-gridfs - Use dynamic ports for tests
> --------------------------------------------------
>
>                 Key: CAMEL-10601
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10601
>             Project: Camel
>          Issue Type: Test
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> This causes CI server to fail sometimes if the port number is already in use
> org.apache.camel.component.gridfs.GridFsConsumerTest.testAttribute
> Failing for the past 1 build (Since Unstable#1067 )
> Took 37 ms.
> Error Message
> Cannot load configuration class: org.apache.camel.component.gridfs.EmbedMongoConfiguration
> Stacktrace
> java.lang.IllegalStateException: Cannot load configuration class: org.apache.camel.component.gridfs.EmbedMongoConfiguration
> Caused by: java.lang.IllegalStateException: Unable to load cache item
> Caused by: java.lang.ExceptionInInitializerError
> Caused by: java.lang.RuntimeException: 
> java.io.IOException: Could not start process: failed errno:98 Address already in use for socket: 0.0.0.0:35949
> 2016-12-14T23:31:17.332+0000 E NETWORK  [initandlisten]   addr already in use
> Caused by: java.io.IOException: 
> Could not start process: failed errno:98 Address already in use for socket: 0.0.0.0:35949
> 2016-12-14T23:31:17.332+0000 E NETWORK  [initandlisten]   addr already in use



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)