Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-M6
-
None
Description
The latest release of Maven Surefire attempts to resolve an incompatibility with TestNG 7.4+, but the way the fix was implemented causes projects that don't specify parallel execution to fail:
[ERROR] There was an error in the forked process [ERROR] Unsupported TestNG parallel setting: none ( only METHODS or CLASSES supported ) [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process [ERROR] Unsupported TestNG parallel setting: none ( only METHODS or CLASSES supported )
"none" is the default value that gets passed in if no [parallel] setting is specified. TestNG actually supports NONE as a valid value, along with TESTS and INSTANCES. There are two deprecated values as well (TRUE and FALSE), which cause TestNG to log a warning and translate to equivalent supported values (METHODS and NONE respectively).
Attachments
Issue Links
- is related to
-
SUREFIRE-1890 Not compatible with TestNG 7.4.0
- Closed
- links to