[ 
http://jira.codehaus.org/browse/MPTEST-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukas Theussl updated MPTEST-63:
--------------------------------

    Attachment: MPTEST-63.patch

Attached patch seems to solve the issue (and also MPTEST-64), need to test and 
confirm.

> Memory leak in test plugin 1.8?
> -------------------------------
>
>                 Key: MPTEST-63
>                 URL: http://jira.codehaus.org/browse/MPTEST-63
>             Project: maven-test-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>         Environment: Linux FC3, jdk 1.4.2_10, m11b3
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>            Priority: Critical
>             Fix For: 1.8.2
>
>         Attachments: MPTEST-63.patch
>
>
> In a project with ~40 test classes, I was surprised to see 'maven dist-bin' 
> fail with a
> java.lang.reflect.InvocationTargetException
> Exception in thread "main" java.lang.OutOfMemoryError
> when running the junit test suite, even though, the tests pass when running 
> just 'maven test'. The point is that dist-bin runs the test suite twice (once 
> from jar:jar,once from site:generate), and it's only the second time that it 
> fails. I can reproduce it with a simple custom goal:
>   <goal name="test-twice">
>       <attainGoal name="test:test"/>
>       <attainGoal name="test:test"/>
>   </goal>
> It works by simply downgrading to test-plugin-1.7, so it's not a problem with 
> my tests.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to