Enable parallel unit test execution

This commit is contained in:
Florian Schmaus 2019-06-02 10:40:44 +02:00
parent 9352225f44
commit 6619372bb8
1 changed files with 1 additions and 3 deletions

View File

@ -143,9 +143,7 @@ allprojects {
test {
useJUnitPlatform()
// Enable once the tests are fixed that sometimes break if
// they are executed in parallel (.e.g Socks5)
// maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
// Enable full stacktraces of failed tests. Especially handy
// for environments like Travis.