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

Unit tests cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • None
    • None

    Description

      Many of the existing test cases take longer than they should and fail randomly due to BrokerService instances that are still running that have open JMX connectors etc. We should take some time to review tests and clean up were we can.

      Removing hard sleeps and using admin view to check statistics can dramatically shorten a test. Also the tests can be configured not to create JMX connectors as none of them need that in the normal case.

      Other tasks that could be done is to update tests to JUnit 4 based tests with test timeouts to help prevent CI hangs.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: