activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AMQ-5621) Unit tests cleanup
Date Tue, 10 May 2016 14:06:13 GMT


ASF subversion and git services commented on AMQ-5621:

Commit 3da9b0720efa4f8c55b8d04d3b584637a25ac1da in activemq's branch refs/heads/master from
[;h=3da9b07 ]

Remove hard coded port as the bridge brokers method doesn't need the
port to be fixed.  Turn off JMX since the test doesn't use it.  

> Unit tests cleanup
> ------------------
>                 Key: AMQ-5621
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
> 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.  

This message was sent by Atlassian JIRA

View raw message