shankar KC
2016-07-05 08:23:32 UTC
Hi,
Our product is tweaked to support say 60 concurrent users.
Say I have 2 maven projects with 5 test suites. each having 10 tests. For
convenience lets say all tests except one each takes 1min to run. Long
running test takes 10 min to complete.
Lets assume i run these 2 projects in parallel in 2 jenkins job. Each job
runs 3 test suites in parallel with 10 tests in parallel( using
parallel=methods and thread-count =5)
Now when i start the tests during first minute we have 2 * 3 * 10. After
first min all tests in a suite completed execution except the long running
test. It means only 6 tests are running. Rest of the threads (2 * 3 * 9)
are idle and will not run remaining suites as current thread didnt finish
because of long running test. It cannot pick remaining 2 suites though they
are idle. How do we solve this and put a constant load on our server. Now
2nd batch of test suite execution happens only after 10 minutes. All the
threads were idle expect one for 9 minutes. This is a common issue in
product companies i think. But I am not sure how to tackle it properly
without wasting lot of time. How you all handle this at your organization?
Thanks
Shankar KC
Our product is tweaked to support say 60 concurrent users.
Say I have 2 maven projects with 5 test suites. each having 10 tests. For
convenience lets say all tests except one each takes 1min to run. Long
running test takes 10 min to complete.
Lets assume i run these 2 projects in parallel in 2 jenkins job. Each job
runs 3 test suites in parallel with 10 tests in parallel( using
parallel=methods and thread-count =5)
Now when i start the tests during first minute we have 2 * 3 * 10. After
first min all tests in a suite completed execution except the long running
test. It means only 6 tests are running. Rest of the threads (2 * 3 * 9)
are idle and will not run remaining suites as current thread didnt finish
because of long running test. It cannot pick remaining 2 suites though they
are idle. How do we solve this and put a constant load on our server. Now
2nd batch of test suite execution happens only after 10 minutes. All the
threads were idle expect one for 9 minutes. This is a common issue in
product companies i think. But I am not sure how to tackle it properly
without wasting lot of time. How you all handle this at your organization?
Thanks
Shankar KC
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+***@googlegroups.com.
To post to this group, send email to testng-***@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-dev.
For more options, visit https://groups.google.com/d/optout.