[ 
https://jira.codehaus.org/browse/SUREFIRE-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324592#comment-324592
 ] 

Christopher Mosher commented on SUREFIRE-992:
---------------------------------------------

Yep. That fixes it. Thanks for your quick response!
                
> 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

Reply via email to