accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2781) Unit tests should reuse forks by default
Date Thu, 09 Apr 2015 19:46:13 GMT


Josh Elser commented on ACCUMULO-2781:

I guess one of the Kerberos tests did something to a static configuration that got reused
in a non-kerberos related test.

> Unit tests should reuse forks by default
> ----------------------------------------
>                 Key: ACCUMULO-2781
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.6.0
>            Reporter: Christopher Tubbs
>             Fix For: 1.8.0
> 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

View raw message