I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there anything we can do to increase this limit?
Thanks
I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there anything we can do to increase this limit?
Thanks
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-users/-/PufgqMNxf5cJ.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
There is no TestNG thread count limit, I'm not quite sure where this limit exists but I would start by looking at the Javadoc of Executors.
--Cédric
I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there anything we can do to increase this limit?
Thanks
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-users/-/PufgqMNxf5cJ.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com.
Thanks Cédric. I'm will look into javadoc of Executors.Also, I see that if I run tests in parallel for thread-count=35, most of my tests will fail with be skipped (configuration issue). Do you think this is because of timeout issue, even though I've specified thread timeout anywhere?
On Fri, Mar 23, 2012 at 2:21 PM, RatedAbstract
<shahzada...@gmail.com> wrote:
> --
> You received this message because you are subscribed to the Google Groups
> "testng-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/testng-users/-/PufgqMNxf5cJ.
> To post to this group, send email to testng...@googlegroups.com.
> To unsubscribe from this group, send email to
> testng-users...@googlegroups.com.
How many cores does the box have where you're running tests? There's a
practical limit to how many threads can actually execute at once based
on available cores. Could this be part of your problem? One way to
test is to configure for 1, 2, 4, 6, 8, threads etc. and see if you
get the expected number of executing threads up to a certain point.
On Fri, Mar 23, 2012 at 2:21 PM, RatedAbstract
> I’m trying to run TestNG tests in parallel, right now I’ve set
> “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are
> running at a time. Is this testNG’s thread limit? Is there anything we can
> do to increase this limit?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "testng-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/testng-users/-/PufgqMNxf5cJ.
> To post to this group, send email to testng...@googlegroups.com.
> To unsubscribe from this group, send email to
System.setProperty("dataproviderthreadcount", "20");
before the dp launches.
Back in JDK 1.4 it looked like you could get about 50 i/o-heavy
threads going on a server CPU before bogging down.
Bill
Abstract <abstra...@gmail.com> wrote:
> > > testng-users...@googlegroups.com.
> > > For more options, visit this group at
> > > http://groups.google.com/group/testng-users?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "testng-users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/testng-users/-/PLh8T48Cc6sJ.
> To post to this group, send email to testng...@googlegroups.com.
> To unsubscribe from this group, send email to testng-users...@googlegroups.com.
We had the same problem and after debugging TestNG found that we had to add this to the <test> element in the TestNG XML file:preserve-order="false"Eric
To view this discussion on the web visit https://groups.google.com/d/msg/testng-users/-/H21R0WJajeEJ.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.