Package org.apache.pulsar.tests
Class TraceTestResourceCleanupListener
java.lang.Object
org.apache.pulsar.tests.TraceTestResourceCleanupListener
- All Implemented Interfaces:
org.testng.IExecutionListener,org.testng.ITestNGListener
public class TraceTestResourceCleanupListener
extends Object
implements org.testng.IExecutionListener
A TestNG listener that traces test resource cleanup by creating a thread dump, heap histogram and heap dump
(when mode is 'full') before the TestNG JVM exits.
The heap dump could help detecting memory leaks in tests or the sources of resource leaks that cannot be
detected with the ThreadLeakDetectorListener.
-
Constructor Details
-
TraceTestResourceCleanupListener
public TraceTestResourceCleanupListener()
-