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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.1
    • 5.6.0
    • Broker
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: