Org.gradle.parallel=true influence the tests

I would like to use org.gradle.parallel=true on my project, but its influence also test result, it probably start running also tests in parallel, is there any way how to skip this for tests.

I tried to use
tasks.withType(Test) {
maxParallelForks = 1
}
but it doesn’t help