mirror of
https://github.com/burakkaygusuz/selenium-4-grid-k8s-docker.git
synced 2021-06-27 00:03:24 +03:00
Change the parallel execution strategy
This commit is contained in:
@@ -54,12 +54,8 @@ dependencies {
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
|
||||
systemProperties["junit.jupiter.execution.parallel.enabled"] = true
|
||||
systemProperties["junit.jupiter.execution.parallel.mode.default"] = "concurrent"
|
||||
systemProperties["junit.jupiter.execution.parallel.mode.classes.default"] = "same_thread"
|
||||
|
||||
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
|
||||
systemProperty "junit.jupiter.execution.parallel.enabled", "true"
|
||||
systemProperty "junit.jupiter.execution.parallel.config.strategy", "dynamic"
|
||||
|
||||
afterSuite { desc, result ->
|
||||
if (!desc.parent)
|
||||
|
||||
Reference in New Issue
Block a user