From: Geoff B. <geo...@gm...> - 2020-08-23 15:20:37
|
Hi Peter, I think you're probably right that this isn't possible right now, you have pretty much tried what I would have tried. I'll try and fix this sometime soon. Regards, Geoff On Sat, Aug 22, 2020 at 1:46 PM Peter Rosell <pet...@gm...> wrote: > Hi, > How can I run more parallel tests than the number of CPU cores? > > I have a test suite with a lot of tests that run against an external > system and that makes the test fixture wait for the result for an amount of > time. When running I get the number of parallel tests to be the same as the > number of cores. To be more efficient I want to increase the number of > parallel tests, but I can find how. I have tried setting the > queue_system_max_capacity, but I have only been able to lower the number of > parallel tests, not increase. > > In the documentation ( > http://texttest.sourceforge.net/index.php?page=documentation_4_0&n=running_tests_in_parallel) > it says > >> If you run TextTest on a multicore machine, it will run as many tests in >> parallel as you have cores on the machine. > > and > >> To steer how many tests will be run simultaneously, you can set >> "queue_system_max_capacity" in your config file also. > > > I just had a quick look into the code and if it's this line that sets the > limit I'm out of luck here. > https://github.com/texttest/texttest/blob/cb421b1b045441da9440eca4812f9bd8500bd5d8/texttestlib/queuesystem/local.py#L39 > Maybe it could be possible to add an override in the config file. > > Best regards > Peter > > _______________________________________________ > Texttest-users mailing list > Tex...@li... > https://lists.sourceforge.net/lists/listinfo/texttest-users > |