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

BrokerXmlConfigStartTest fails intermittently

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0
    • Component/s: Test Cases
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Regression:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: