mirror of https://github.com/sbt/sbt.git
**Problems** When running forked tests, sbt uses `Runtime.getRuntime().availableProcessors()` to determine the thread pool size, ignoring `concurrentRestrictions`. This is inconsistent with non-forked parallel tests. **Expectations** Users should be able to control the number of parallel test threads in forked mode, similar to how `concurrentRestrictions` works for non-forked tests. **Notes** Added a new setting `testForkedParallelism` that allows explicit control: ```scala testForkedParallelism := Some(2) // Use 2 threads testForkedParallelism := None // Use availableProcessors() (default) ``` |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||