Global JUnit timeouts

This commit is contained in:
2024-06-09 22:29:48 +02:00
parent f95a5fd10e
commit b012955069
2 changed files with 5 additions and 2 deletions

View File

@@ -36,5 +36,10 @@ allprojects {
tasks.test {
useJUnitPlatform()
systemProperties(
"junit.jupiter.execution.timeout.mode" to "disabled_on_debug",
"junit.jupiter.execution.timeout.testable.method.default" to "10s",
"junit.jupiter.execution.timeout.thread.mode.default" to "SEPARATE_THREAD",
)
}
}