Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4254

BrokerXmlConfigStartTest fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.8.0
    • Test Cases
    • None
    • Patch Available
    • Unit Test Broken

    Description

      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.

      Attachments

        1. AMQ4254.patch
          4 kB
          Kevin Anthony Earls
        2. AMQ4254a.patch
          0.8 kB
          Kevin Anthony Earls

        Activity

          People

            tabish Timothy A. Bish
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: