This message was deleted.
# community-support
s
This message was deleted.
j
Do you need to set the maxParallelForks as well?
Copy code
test.maxParallelForks = System.getProperty("maxTestParallelForks")?.toInt() ?: ((Runtime.getRuntime().availableProcessors() / 2).takeIf { it > 0 } ?: 1)
and when you run your build, you need
--parallel
or gradle.properties needs
org.gradle.parallel=true
s
No maxParallel fork not needed.
j
Sure, but you probably need to see how Gradle gets to that point: https://docs.gradle.org/current/userguide/java_testing.html#sec:test_execution
👍 1
t
You're applying the system properties to the
test
suite, not the
smokeTest
one.
🙌 1
s
Correct. This solved my issue. Thank you so much Thomas for the reply.