mirror of
https://github.com/nextcloud/android.git
synced 2026-01-13 05:42:52 +00:00
fix: max parallel fork count for tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
@ -327,7 +327,7 @@ tasks.withType<JavaCompile>().configureEach {
|
||||
|
||||
tasks.withType<Test>().configureEach {
|
||||
// Run tests in parallel
|
||||
maxParallelForks = Runtime.getRuntime().availableProcessors().div(2)
|
||||
maxParallelForks = maxOf(1, Runtime.getRuntime().availableProcessors().div(2))
|
||||
|
||||
// increased logging for tests
|
||||
testLogging.events("passed", "skipped", "failed")
|
||||
|
||||
Reference in New Issue
Block a user