You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2022/04/23 23:43:00 UTC
[jira] [Assigned] (SUREFIRE-2064) Implementation of TestNG "parallel" option fails with default value
[ https://issues.apache.org/jira/browse/SUREFIRE-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana reassigned SUREFIRE-2064:
--------------------------------------
Assignee: Tibor Digana
> 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
> Assignee: Tibor Digana
> Priority: Major
> Fix For: 3.0.0-M7
>
>
> 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.7#820007)