You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Scott Babcock (Jira)" <ji...@apache.org> on 2022/04/08 01:20:00 UTC
[jira] [Created] (SUREFIRE-2064) Implementation of TestNG "parallel" option fails with default value
Scott Babcock created SUREFIRE-2064:
---------------------------------------
Summary: Implementation of TestNG "parallel" option fails with default value
Key: SUREFIRE-2064
URL: https://issues.apache.org/jira/browse/SUREFIRE-2064
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 3.0.0-M6
Reporter: Scott Babcock
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:
{code:java}
[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 )
{code}
"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).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)