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

AMQ2584Test, AMQ2870Test, and several others hang or fail on some platforms when using LevelDB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Test Cases
    • None
    • AIX and Solaris

    • Patch Available
    • Unit Test Broken

    Description

      Problem tests include:

      AMQ2584Test
      AMQ2870Test
      QueueMbeanRestartTest
      FailoverTransactionTest
      ConcurrentProducerDurableConsumerTest
      DurableSubscriptionOfflineTest

      The patch adds timeouts, and for the AMQ2584Test and AMQ2870Test does not run the LevelDB instance of the test, as these fail in tearDown, so timeouts do not prevent the tests from hanging.

      Note: Where possible I've changed these from using CombinationTestSupport to JUnit4 Parameterized tests with timeouts defined. It looks like sometimes if a test which extends CombinationTestSupport turns on AutoFail and a timeout occurs, Maven reports the following:

      Results :

      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

      Attachments

        1. AMQ-4415.patch
          19 kB
          Kevin Anthony Earls

        Activity

          People

            Unassigned Unassigned
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: