Giter Site home page Giter Site logo

Comments (3)

bennid avatar bennid commented on June 3, 2024

After a bit of searching, it seems like this is similar / the same as #2019

from testng.

bennid avatar bennid commented on June 3, 2024

The reason we need this solved, is that we only have a certain number of licenses for our remote selenium service. In this suite we have ~12 tests that each have 7 data provider instances in addition to another 12 basic tests. We can only run ~30 tests at a time in parallel to not utilize all our licenses. In working on the suite file, I've setup the DP tests to run first w/ 8 threads, and 4 dp-threads (So a max of 32). Then run the basic tests after. However, this is still wasting time (we want to get the 90 some-odd tests running at around 25-30 at a time to speed up the result.

concurrency-graph

from testng.

krmahadevan avatar krmahadevan commented on June 3, 2024

After a bit of searching, it seems like this is similar / the same as #2019

No. This issue is not similar to #2019. I believe that issue talks about having a global thread pool which is going to be shared by data driven tests and non data driven tests.

This issue you raised is specific to just having the data driven tests honour the thread pool value set globally.
To fix this, I have raised a PR which essentially adds a new attribute to the TestNG DTD so that you can now explicitly configure TestNG to use a shared thread pool for all your data providers or you can have it setup via a configuration, which will automatically enforce this in all the suites being run.

from testng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.