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

Tibor Digana commented on SUREFIRE-1179:
----------------------------------------

The deprecated method supports both params.
First of all we should isolate TestNG instance (zip attachment) and prove that 
TestNG is able to schedule more than 10 threads. We should have scenarios with 
-dataproviderthreadcount, and -suitethreadpoolsize.
Then we should find out why these properties do not appear in TestNG 
configuration in TestNGExecutor. Then fix it if it is a bug and then we should 
extend the Javadoc for "parallel" (Since 2.19 ... methods,tests, classes and 
instances) in AbstractSurefireMojo including link to TestNG docu. Then we 
should update sanity check in MOJO class and make sure that we are again 
passing values of parallel in TestNGExecutor.
Before these activities someone should write (performance) IT tests (positive 
and negative).

Quite a lot of work isn't it?

I am looking for new committer candidate, this would definitely accept him in 
ASF. 
Usually his code should have unit and IT tests, Javadoc if necessary, clear and 
verbose code.

> TestNG parallel options seem to not be honored
> ----------------------------------------------
>
>                 Key: SUREFIRE-1179
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1179
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.18.1
>         Environment: Windows 7 x64, Java 8 (1.8.0_60), TestNG v6.9.6, Maven 
> Surefire version 2.18.1
>            Reporter: Jeff Vincent
>            Assignee: Tibor Digana
>         Attachments: testng-test.zip
>
>
> I have some simple tests I'm trying to configure to run in parallel using 
> Maven 3.3.3 and the latest versions of TestNG.  I've set my POM file to the 
> following:
>              <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-surefire-plugin</artifactId>
>                 <version>2.18.1</version>
>                 <configuration>
>                     <parallel>methods</parallel>
>                     <threadCount>50</threadCount>
>                 </configuration>
>             </plugin>
> When I run in parallel, I only get 10 threads no matter the setting and I can 
> not change it.  I've tried adding the annotation parameter  to the method as 
> well:
>      @Test(dataProvider = "dataProvider", threadPoolSize = 50)
> Nothing seems to help.  I have a simple project that illustrates what I'm 
> seeing.  



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

Reply via email to