0 Replies Latest reply on Aug 5, 2011 6:59 PM by clebert.suconic

    Stricter thread requirements on testsuite

    clebert.suconic

      I'm placing a stricter verification on tearDown on the testsuite.

       

      Any test shouldn't ever leave any threads around. Any thread leakage between tests willl now be reported as a failure.

       

       

      I had spent some time on the testsuite cleaning leaking threads (again) and lots of intermittent failures were being caused by leaking threads.

       

       

      An example was the SpringIntegratioTest making StompCleanupTest to fail eventually due to a MessageListener that was hanging on an executor on spring after the test was gone.