Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E57693DB for ; Sun, 15 Jan 2012 20:00:03 +0000 (UTC) Received: (qmail 94336 invoked by uid 500); 15 Jan 2012 20:00:03 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 94279 invoked by uid 500); 15 Jan 2012 20:00:02 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 94265 invoked by uid 99); 15 Jan 2012 20:00:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 20:00:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 20:00:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7FEFD14E2F1 for ; Sun, 15 Jan 2012 19:59:39 +0000 (UTC) Date: Sun, 15 Jan 2012 19:59:39 +0000 (UTC) From: "Babak Vahdat (Commented) (JIRA)" To: issues@camel.apache.org Message-ID: <1591135465.43059.1326657579525.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1582435602.38699.1324548990564.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-4814) Use dynamic port numbers for unit tests the examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186578#comment-13186578 ] Babak Vahdat commented on CAMEL-4814: ------------------------------------- loan-broker seems still to have the same issue by the latest build: https://builds.apache.org/job/Camel.trunk.fulltest/657/org.apache.camel$camel-example-loan-broker/testReport/junit/org.apache.camel.loanbroker.webservice.version/LoanBrokerWSTest/testInvocation/ > 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 > Fix For: 2.10.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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira