joshiste opened a new issue, #3396:
URL: https://github.com/apache/maven-surefire/issues/3396

   ### New feature, improvement proposal
   
   `runOrder=balanced` currently sizes its class distribution only by the 
parallel `threadCount` (from `parallel` / `-DthreadCount`). When tests are 
parallelised with `forkCount>1` but **without** `parallel=classes`, 
`threadCount` is `1`, so `balanced` degrades to a plain slowest-first list and 
ignores the number of forks that actually consume the tests.
   
   **Proposal:** size the balanced distribution by the real concurrency — 
`forkCount × threadCount` — so `balanced` is effective with `forkCount>1` even 
without `parallel=classes`.
   
   **Sketch:** propagate `forkCount` to the provider via a `forkcount` provider 
property (mirroring the existing `threadcount`) and use `threadCount × 
forkCount` as the bin-packing width in `DefaultRunOrderCalculator`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to