accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-3968) Enable thread dumps on test timeouts
Date Wed, 26 Aug 2015 04:36:46 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-3968.
----------------------------------
    Resolution: Fixed

> Enable thread dumps on test timeouts
> ------------------------------------
>
>                 Key: ACCUMULO-3968
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3968
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.8.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A neat little trick that sir [~ndimiduk] found yesterday from JUnit.
> https://github.com/junit-team/junit/blob/master/doc/ReleaseNotes4.12.md#pull-request-742-pull-request-986-timeout-exceptions-now-include-stack-trace-from-stuck-thread-experimental
> By using the Timeout building (instead of just specifying the Timeout rule as we do now),
we could enable a new feature in JUnit to print out a dump of the threads when a test hits
the timeout limit. This could be useful in offline analysis of test failures in the future.
> It looks like we'd have to bump from 4.11 to 4.12 to enable this. I figured such a shake-down
is good for master and if we have success, we can consider pulling it back to 1.6 and 1.7.



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

Mime
View raw message