Skip to content

Commit

Permalink
Update dependency org.junit:junit-bom to v5.10.2
Browse files Browse the repository at this point in the history
- stabelized parallel integration test execution;
  • Loading branch information
renovate[bot] authored and mathze committed Mar 13, 2024
1 parent 3e77c8b commit f69f730
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ testing {
implementation("io.kotest:kotest-assertions-core:5.8.1")
implementation(gradleTestKit())

implementation(platform("org.junit:junit-bom:5.10.1"))
implementation(platform("org.junit:junit-bom:5.10.2"))
implementation("org.junit.platform:junit-platform-commons") {
because(
"""we need to implement custom strategy
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Sun Jul 24 15:10:29 UTC 2022
version=2.4.1-SNAPSHOT
org.gradle.jvmargs=-Xmx512m "-XX:MaxMetaspaceSize=512m"
org.gradle.jvmargs=-Xmx2048m "-XX:MaxMetaspaceSize=1024m"
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class CustomParallelExecutionConfigurationStrategy : ParallelExecutionConfigurat
parallelism = maxThreads.get().coerceAtMost(parallelism)
}

val poolSize = parallelism * 2
return CustomParallelExecutionConfiguration(parallelism, parallelism, poolSize, parallelism, KEEP_ALIVE_SECONDS)
return CustomParallelExecutionConfiguration(parallelism, parallelism, parallelism, parallelism, KEEP_ALIVE_SECONDS)
}

data class CustomParallelExecutionConfiguration(
Expand Down
2 changes: 1 addition & 1 deletion src/functionalTest/resources/junit-platform.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
junit.jupiter.execution.parallel.enabled=true
junit.jupiter.execution.parallel.config.strategy=custom
junit.jupiter.execution.parallel.config.custom.class=de.qualersoft.jmeter.gradleplugin.CustomParallelExecutionConfigurationStrategy
junit.jupiter.execution.parallel.config.dynamic.factor=0.6
junit.jupiter.execution.parallel.config.dynamic.factor=0.75
junit.jupiter.execution.parallel.config.fixed.parallelism=6
junit.jupiter.execution.parallel.mode.default=concurrent
junit.jupiter.execution.parallel.mode.classes.default=concurrent

0 comments on commit f69f730

Please sign in to comment.