Mattias Andersson created SUREFIRE-2293:
-------------------------------------------

             Summary: Surefire does not honor the forkCount user property
                 Key: SUREFIRE-2293
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2293
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Plugin
    Affects Versions: 3.5.2
         Environment: Linux, Java 21
            Reporter: Mattias Andersson


Surefire does not honor the 
[forkCount|[https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#forkCount]]
 user property if forkCount is specified in the pom configuration.

I assumed that the user property set on the command line would override any 
configuration in the pom.
{code:java}
./mvnw -DforkCount=1 test {code}
Here is a simple example that reproduce the problem: 
https://github.com/attiand/surefire-problem.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to