Github user juherr commented on the pull request:

    https://github.com/apache/maven-surefire/pull/106#issuecomment-143733741
  
    Since 5.10, `suite.setDataProviderThreadCount()` is available but surefire 
doesn't use it.
    
    I'd like to add
    
    ```
            String dataProviderThreadCount = options.get( 
"dataproviderthreadcount" );
            if ( dataProviderThreadCount != null ) {
                suite.setDataProviderThreadCount( 
Integer.parseInt(dataProviderThreadCount) );
            }
    ```
    in `TestNGMapConfigurator#configure( XmlSuite suite, Map<String, String> 
options )` but I don't know if `TestNGMapConfigurator` is the best location to 
add it and if I'm allowed to update the TestNH dependency of surefire (from 5.7 
to 5.10).
    
    I've just test by changing the value of dataproviderthreadcount in the test 
with 5 and it is working with the update I propose.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to