[ 
https://issues.apache.org/jira/browse/SUREFIRE-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742472#comment-14742472
 ] 

Tibor Digana commented on SUREFIRE-1177:
----------------------------------------

We need your test project in order to reproduce this issue.
I only guess that your plugin configuration is parallel=suites. If it's so I 
have to say that parallel parameter accepts only methods or classes and this 
issues is then supposed to be a new feature.
Remember that Maven project has a rule where Jira issues without having 
attached reproducible project can be closed after 3 months.


> TestNG "suitethreadpoolsize" parameter can not be set by Maven Surefire
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-1177
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1177
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.18.1
>            Reporter: Jan Dundáček
>
> Because of Surefire is using deprecated TestNG.configure(Map) method, 
> parameter "suitethreadpoolsize" value is not read by TestNG. And so test 
> suites can not be run in parallel. This parameter is read only in 
> TestNG.configure(CommandLineArgs) method.
>   /**
>    * This method is invoked by Maven's Surefire to configure the runner,
>    * do not remove unless you know for sure that Surefire has been updated
>    * to use the new configure(CommandLineArgs) method.
>    *
>    * @deprecated use new configure(CommandLineArgs) method
>    */
>   @Deprecated
>   public void configure(Map cmdLineArgs) {
>   ....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to