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 2016/12/15 08:57:59 UTC

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

Claus Ibsen created CAMEL-10601:
-----------------------------------

             Summary: 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
            Priority: Minor
             Fix For: Future


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.4#6332)