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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment