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

intermittent failure of org.apache.activemq.transport.vm.VmTransportNetworkBrokerTest

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.6.0
    • Component/s: Broker
    • Labels:
    • Patch Info:
      Patch Available

      Description

      The JUnit test org.apache.activemq.transport.vm.VmTransportNetworkBrokerTest fails most of the time on a Mac OSX machine.
      The reason for the failure is that the test assumes the JVM itself will not create any additional threads at runtime. This however is a false assumption as on Mac OSX a daemon thread called "Poller SunPKCS11-Darwin" is created at some later point in time (after the test got kicked off already) under the main thread group.

      This extra but JVM internal thread makes the test fail on Mac OSX right now.

        Attachments

        1. AMQ-3754.patch
          4 kB
          Torsten Mielke

          Activity

            People

            • Assignee:
              tmielke Torsten Mielke
              Reporter:
              tmielke Torsten Mielke
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: