activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4254) BrokerXmlConfigStartTest fails intermittently
Date Mon, 14 Jan 2013 23:18:12 GMT

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

Timothy Bish commented on AMQ-4254:
-----------------------------------

I just added a call to broker.waitUntilStopped() to trunk.  Its a bit tricky because those
ports need to be freed and back into a reusable state.  
                
> BrokerXmlConfigStartTest fails intermittently
> ---------------------------------------------
>
>                 Key: AMQ-4254
>                 URL: https://issues.apache.org/jira/browse/AMQ-4254
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>            Reporter: Kevin Earls
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: 5.8.0
>
>         Attachments: AMQ4254.patch
>
>
> BrokerXmlConfigStartTest.testStartBrokerUsingSampleConfig fails intermittently on Hudson/Jenkins
with the error 
> "Error creating bean with name 'Server' defined in file [/home/hudson/hudson-slave/workspace/ActiveMQ-Java7/assembly/target/conf/jetty-demo.xml]:
Invocation of init method failed; nested exception is java.net.BindException: Address already
in use"
> I will attach a patch with this test rewritten as a JUnit4 Parameterized test. This creates
runs each config as a separate test case and seems to resolve the broker start/stop issue.

--
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

Mime
View raw message