Clone
Dan Berindei <dan@infinispan.org>
committed
on 28 Feb 19
ISPN-9863 Fix leak-related random failures
* Move leak detection to a @AfterSuite configuration method.
That way leak detection works even… Show more
ISPN-9863 Fix leak-related random failures

* Move leak detection to a @AfterSuite configuration method.

 That way leak detection works even if the last test does not

 extend AbstractInfinispanTest.

* Also move detection of wrong/missing groups or testName

 to a @BeforeSuite method + fix LimitExpiryFactoryTest.

* TestNG modules run ThreadLeakCheckTest from commons-test.

* JUnit modules check for thread leaks in JUnitTestListener

 and/or TestResourceTrackingListener.

* JUnitTestListener.testRunFinished failures still build, so tests that

 may leak threads should use TestResourceTrackingListener.

Show less

master + 4 more