You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jeffrey Manno (Jira)" <ji...@apache.org> on 2021/04/07 13:30:00 UTC

[jira] [Resolved] (ACCUMULO-2781) Unit tests should reuse forks by default

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

Jeffrey Manno resolved ACCUMULO-2781.
-------------------------------------
    Resolution: Duplicate

Duplicated by https://github.com/apache/accumulo/issues/2004

> Unit tests should reuse forks by default
> ----------------------------------------
>
>                 Key: ACCUMULO-2781
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2781
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.6.0
>            Reporter: Christopher Tubbs
>            Priority: Major
>
> The default value for maven-surefire-plugin's reuseForks is true. This is set to false in our pom.xml in order to keep ITs independent. This inadvertently affects unit tests also, and causes unit tests to create a new JVM for each test class.
> These should be separated, and the default for unit tests (maven-surefire-plugin's execution) should be {{reuseForks=true}}, and the default for ITs (maven-failsafe-plugin's execution) should be {{reuseForks=false}} (as it is now).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)