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] [Created] (ACCUMULO-3968) Enable thread dumps on test timeouts
Date Fri, 21 Aug 2015 17:19:45 GMT
Josh Elser created ACCUMULO-3968:
------------------------------------

             Summary: 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
             Fix For: 1.8.0


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