[
https://jira.codehaus.org/browse/SUREFIRE-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed SUREFIRE-992.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.15
Fixed with unit test in 19939cb45467c582da9b9bbb4afc436a75bb8ee6
I was unable to make an IT of your supplied testcase, but I think the fix
covers your problem. You may want to give 2.15-SNAPSHOT a try
> Surefire trims too much stack, with trimStackTrace=true
> -------------------------------------------------------
>
> Key: SUREFIRE-992
> URL: https://jira.codehaus.org/browse/SUREFIRE-992
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.14.1
> Environment: geb, selenium, spock, groovy, mvn 3.0.5, linux
> Reporter: Christopher Mosher
> Assignee: Kristian Rosenvold
> Priority: Minor
> Fix For: 2.15
>
> Attachments: mvn_stacktrace.tar.gz, typescript
>
>
> With trimStackTrace=true, surefire trims too much of the stack, at least in
> some cases. In particular, selenium generates a particularly long and
> interesting stack trace, and surefire trims away all the useful information,
> including the stack frame of the test itself, which is the most important
> piece of information.
> In the attached project (mvn_stacktrace.tar.gz), use "mvn test" to see the
> trimmed stack trace (it uses Firefox to run the test). Running with "mvn
> -DtrimStackTrace=false test" shows the full stack trace, including the vital
> line "at StackTraceTest.stackTraceTest(StackTraceTest.groovy:8)" which was
> trimmed during the first run.
> See an attached typescript of a session showing both runs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira