Skip to content

Commit 479651f

Browse files
committed
fixed parallel forks
1 parent 6c04bed commit 479651f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/apollo-gradle-plugin/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ tasks.withType<Test> {
150150
addRelativeInput("testFiles", "testFiles")
151151
addRelativeInput("testProjects", "testProjects")
152152

153-
maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).takeIf { it > 0 } ?: 1
153+
println("available processors: " + Runtime.getRuntime().availableProcessors())
154+
maxParallelForks = 5
154155
}
155156

156157
val allTests = tasks.create("allTests")

0 commit comments

Comments
 (0)