Commit Graph

9 Commits

Author SHA1 Message Date
Xiaoyan Lin d513280534 Add TimedOutTestsListener to print the full thread dump on test timeout
Motivation:

See https://github.com/netty/netty/issues/3172

Modifications:

Copy TimedOutTestsListener from 18f9b77a32/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/TimedOutTestsListener.java

Result:

If a test is set the timeout parameter using junit's @Test(timeout = ...) and the timeout is triggered, a full stack trace dump will be outputted and also output the deadlocks if any.
2016-03-04 14:38:15 +09:00
Trustin Lee 191ae3872f Ignore the missing private constructor checks for examples
.. because there's no point of having an empty private constructor for
the example classes with the main(String[]) methods.
2014-05-22 17:20:13 +09:00
Trustin Lee f23a34754a Replace regex match with NewlineCheck for more tolerative builds
- Fixes #2
2013-01-31 14:05:05 +09:00
Trustin Lee 3a17bb6bc9 Fix broken CRLF rule / Check trailing whitespace
- Also removed unused imports
2012-06-08 11:16:03 +09:00
Trustin Lee d5bae61655 Update license headers 2012-06-04 13:33:20 -07:00
Trustin Lee 381814f6da Make Windows-friendly
* SuppressionFilter now replaces \ with / before patterh matching
* Added strict UNIX line separator check
* Revived NewlineAtEndOfFile check with UNIX line separator
* Confirmed checkstyle doesn't complain anymore in Windows
2012-03-02 10:19:33 -08:00
Trustin Lee a6d9b41b98 Disable the MissingOverride check for Java 5 code 2012-01-17 18:30:17 +09:00
Trustin Lee 0bbf677b7c Disable JavadocPackageCheck for examples 2012-01-15 01:40:26 +09:00
Trustin Lee 3b806a4833 Initial import 2012-01-11 20:36:30 +09:00