Red Hat Bugzilla – Bug 963301
Thread leaks on testsuite - clone of https://issues.jboss.org/browse/HORNETQ-1198
Last modified: 2013-09-16 16:22:01 EDT
Description of problem:
The testsuite is eventually leaking threads. Some of these causes could eventually cause dead locks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Fix UnitTestCase::checkThread (it was broken, which is also part of this change)
2. Run the testsuite and look for results
Threads will keep running after the tearDown of a test
All threads should be stopped
The testsuite checkThread is a way to keep the testsuite clean. This won't cause any issues in production but it will keep the sanity of the code.
PR submitted: https://github.com/hornetq/hornetq/pull/1061
This was fixed as part of https://bugzilla.redhat.com/show_bug.cgi?id=963301 / https://issues.jboss.org/browse/HORNETQ-1198 on 2.3.2
Hornetq 2.3.2.Final was included in 6.1.1 ER3
this was fixed on 2.3.2
ManagementActivationTest and ManagementActivationTest are not leaking anymore. Thanks for the fix! Verified in EAP 6.1.1.ER7.