Github user Tibor17 commented on the issue:

    https://github.com/apache/maven-surefire/pull/160
  
    @MatousJobanek 
    It should be sanity check and Mojo should fail if `threadCount` is <= 0 && 
isApplicable.
    IsApplicable is TRUE if `forkMode` is "pertest" OR `parallel` is any of 
("classes", "methods", "both", "suites", "suitesAndClasses", 
"suitesAndMethods", "classesAndMethods", "all").
    
    The Mojo should fail even if `threadCount` is <> 0 AND `forkMode` != 
"pertest" AND `parallel` == NULL.
    
    The Mojo should fail if `forkCount` is < 0 AND `forkMode` == "once" 
(default).
    
    `AbstractSurefireMojo` is some methods which maybe solve this and convert 
old forkMode to forkCount so it is not so direct to do like I wrote this pseudo 
code.
    
    The most important is to run the build `mvn install -P run-its`, cca 50 
minutes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to