It seems threadcount and parallel tag is not a correct choice, it only include 
"method, classes and test.

Try this:
<suitethreadpoolsize>2</suitethreadpoolsize>

Br,
Tim

-----Original Message-----
From: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] On 
Behalf Of Kristian Rosenvold
Sent: Tuesday, June 26, 2012 1:44 PM
To: Maven Users List
Subject: Re: How to run parallel test suite files in Maven

Probably not; if you switch to "classes" there should be some threading.

Is there any good reason why you choose the generally inferior
"methods" threading ?

Kristian


2012/6/26 sreekumar <sreekumarthe...@gmail.com>:
> Hi Team
>
> I am try to run parallel test suitesXML files from Maven as below
>
> <plugins>
>                        <plugin>
>                                <groupId>org.apache.maven.plugins</groupId>
>                                <artifactId>maven-surefire-plugin</artifactId>
>                                <version>2.12</version>
>
>                                <configuration>
>
>                                        <parallel>methods</parallel>
>                                        <threadCount>2</threadCount>
>
>                                        <suiteXmlFiles>
>                                                
> <suiteXmlFile>testng-vm1.xml</suiteXmlFile>
>                                                
> <suiteXmlFile>testng-vm2.xml</suiteXmlFile>
>
>                                        </suiteXmlFiles>
>                                </configuration>
>
>                        </plugin>
>
> When i execute with above code, the last testng xml file only (i.e
> testng-vm2.xml) is running.  But i want to run both xml files parallel .
>
>
> Please let me know is it possible to run parallel suites through Maven?
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/How-to-run-parallel-test-suite-files-in-Maven-tp5712022.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to