Chris
03/29/2024, 5:31 PMVampire
03/29/2024, 6:39 PMmaxParallelForks
option of the Test
task?Vampire
03/29/2024, 6:40 PMVampire
03/29/2024, 6:41 PMmaxParallelForks
iirc just distributes the test classes to the forks, but if one test class has 1 test and one has 1000 tests, the utilization is not really great.Chris
03/29/2024, 7:35 PMmaxParallelForks
, but yes I’m aware of those issues, and the frequent requests for work stealing approaches there. I’m more thinking about optimizing across large numbers of projects… I’ve got a ~40 sub-project build where some tests tasks are heavyweight system tests and others are very lightweight pure unit testing tasks. Gradle treats all these the same though as far as worker leases are concerned. So if I have 10 worker leases I might tolerate 10 unit testing tasks, but 10 system test tasks might be a little much. I’d like to find a way to account for those different weightings when assigning worker leases.Vampire
03/29/2024, 8:33 PMVampire
03/29/2024, 8:34 PM