You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/13 16:23:05 UTC

[jira] [Commented] (SUREFIRE-1177) TestNG "suitethreadpoolsize" parameter can not be set by Maven Surefire

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

ASF GitHub Bot commented on SUREFIRE-1177:
------------------------------------------

Github user juherr commented on the pull request:

    https://github.com/apache/maven-surefire/pull/105#issuecomment-147729243
  
    087c7c3c4b54000fae6ea722a0119ab76f05b5c1 is missing, but not a problem for me :)


> 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
>            Assignee: Tibor Digana
>             Fix For: 2.19
>
>
> 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)