Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TimedOutTestsListener to print the full thread dump on test timeout #6

Closed
wants to merge 1 commit into from

Commits on Feb 25, 2016

  1. Add TimedOutTestsListener to print the full thread dump on test timeout

    Motivation:
    
    See netty/netty#3172
    
    Modifications:
    
    Copy TimedOutTestsListener from https://github.com/apache/hadoop/blob/18f9b77a321b225677ce23c503b41d21478fc4a7/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.
    windie committed Feb 25, 2016
    Configuration menu
    Copy the full SHA
    10a8f73 View commit details
    Browse the repository at this point in the history