[
https://issues.apache.org/jira/browse/DL-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved DL-165.
--------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
Issue resolved by merging pull request 91
[https://github.com/apache/incubator-distributedlog/pull/91]
{noformat}
commit ea3c1143f9e2718d0d86e8b1c8f3a7e51ac19c4d
Author: xieliang <[email protected]>
AuthorDate: Wed Jan 4 16:09:01 2017 -0800
Commit: Sijie Guo <[email protected]>
CommitDate: Wed Jan 4 16:09:01 2017 -0800
DL-165: Add TestTimedOutTestsListener to dump timed out cases thread dump
Author: xieliang <[email protected]>
Reviewers: Leigh Stewart <[email protected]>
Closes #91 from xieliang/DL-165-TimedOutTestsListener
{noformat}
> 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
> Fix For: 0.4.0
>
>
> 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)