[ 
https://issues.apache.org/jira/browse/DL-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787299#comment-15787299
 ] 

ASF GitHub Bot commented on DL-165:
-----------------------------------

Github user xieliang commented on the issue:

    https://github.com/apache/incubator-distributedlog/pull/91
  
    @sijie good catch. i verified it works by adding Thread.sleep(xxx) into a 
random test case, i could see the dump info.


> Add TimedOutTestsListener to print the full thread dump on test timeout
> -----------------------------------------------------------------------
>
>                 Key: DL-165
>                 URL: https://issues.apache.org/jira/browse/DL-165
>             Project: DistributedLog
>          Issue Type: Improvement
>          Components: tests
>    Affects Versions: 0.4.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>
> The TestBKSyncLogReader.testReadRecordsAfterReadAheadCaughtUp case seems 
> failed frequently due to timeout, i.e. 
> https://builds.apache.org/job/distributedlog-precommit-pullrequest/com.twitter$distributedlog-core/56/testReport/junit/com.twitter.distributedlog/TestBKSyncLogReader/testReadRecordsAfterReadAheadCaughtUp/
> From the log, it's hard to figure out the root cause, it may be helpful if we 
> had the full thread dump. we can add a TimedOutTestsListener just like 
> netty/hadoop projects, please refer to : 
> https://github.com/junit-team/junit4/issues/463 , 
> https://github.com/netty/netty/pull/4749/files , 
> https://issues.apache.org/jira/browse/HADOOP-8755 for more details



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to