Package org.apache.hadoop.hbase
Class TimedOutTestsThreadDumpHelper
java.lang.Object
org.apache.hadoop.hbase.TimedOutTestsThreadDumpHelper
JUnit run listener which prints full thread dump into System.err in case a test is failed due to
timeout.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final DateTimeFormatter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Stringstatic Stringprivate static Stringprivate static voidprintLockInfo(LockInfo[] locks, PrintWriter out) private static voidprintThread(ThreadInfo ti, PrintWriter out) private static voidprintThreadInfo(ThreadInfo ti, PrintWriter out)
-
Field Details
-
TIMESTAMP_FORMATTER
-
INDENT
- See Also:
-
-
Constructor Details
-
TimedOutTestsThreadDumpHelper
private TimedOutTestsThreadDumpHelper()
-
-
Method Details
-
buildThreadDiagnosticString
-
buildThreadDump
-
buildDeadlockInfo
-
printThreadInfo
-
printThread
-
printLockInfo
-