maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Herr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1177) TestNG "suitethreadpoolsize" parameter can not be set by Maven Surefire
Date Thu, 17 Sep 2015 18:43:04 GMT

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

Julien Herr commented on SUREFIRE-1177:
---------------------------------------

I'm agree with [~dundacek] when he said Surefire and TestNG should collaborate.
We have both interest that Surefire and TestNG work well together.
Pull-requests are perfect for sure, but issues are better than nothing. ;)

{{void configure(CommandLineArgs cla)}} is present, [since 5.14|https://github.com/cbeust/testng/commit/55cd8fe791efec01c80a0199de9d187d2c836801],
and {{void configure(Map cmdLineArgs)}} was deprecated [since 5.14.2|https://github.com/cbeust/testng/commit/7d239aabc611adf9baa78d919b6ce9f7a14c680c].
But it doesn't means the deprecated method should not be fixed.

Feel free to open an issue if I can help by doing something on TestNG. :)

> 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)

Mime
View raw message