Class Surefire1080ParallelForkDoubleTestIT
java.lang.Object
org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
org.apache.maven.surefire.its.jiras.Surefire1080ParallelForkDoubleTestIT
Description of SUREFIRE-1080:
There are 9 tests in total in the attached project, and mvn test will show 9 tests run. When I use the command " mvn test -Dparallel=classes -DforkCount=2 -DuseUnlimitedThreads=true", it shows 13 tests run (and sometimes 16), and some tests are run more than once. If I remove forkCount, or parallel, everything will be fine. But it is problematic when combining together. Apache Maven 3.2.2-SNAPSHOT Surefire 2.18-SNAPSHOT JUnit 4.11
There are 9 tests in total in the attached project, and mvn test will show 9 tests run. When I use the command " mvn test -Dparallel=classes -DforkCount=2 -DuseUnlimitedThreads=true", it shows 13 tests run (and sometimes 16), and some tests are run more than once. If I remove forkCount, or parallel, everything will be fine. But it is problematic when combining together. Apache Maven 3.2.2-SNAPSHOT Surefire 2.18-SNAPSHOT JUnit 4.11
- Since:
- 2.18
- Author:
- Tibor Digana (tibor17)
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
IS_JAVA9_PLUS, JAVA_HOME, JAVA_VERSION
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase
executeErrorFreeTest, unpack, unpack, unpack, unpack
-
Constructor Details
-
Surefire1080ParallelForkDoubleTestIT
public Surefire1080ParallelForkDoubleTestIT()
-
-
Method Details
-
test
public void test()
-