mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
Spek 2.0.3 introduced test timeouts.
(https://github.com/spekframework/spek/releases/tag/2.0.3)
The default timeout is 10 seconds per test case.
Detekt's rule-tests easily reach this limit when
1. setting up 8 `KotlinScriptEngine's` for compiling test snippets.
2. the (CI) machines are under heavy load
This results in the following exception as happened in commit 9691e0d.
kotlinx.coroutines.TimeoutCancellationException:
Timed out waiting for 10000 ms
Unfortunately, Spek doesn't allow to set a global timeout (yet).
See: https://github.com/spekframework/spek/issues/769
Setting a custom timeout on each test block is not what we want.
Therefore, this commit downgrades Spek to version 2.0.2.
31 lines
603 B
Properties
31 lines
603 B
Properties
detektVersion=1.0.1
|
|
|
|
# Project dependencies
|
|
assertjVersion=3.13.2
|
|
jcommanderVersion=1.78
|
|
junitPlatformVersion=1.4.1
|
|
ktlintVersion=0.34.2
|
|
reflectionsVersion=0.9.11
|
|
spekVersion=2.0.2
|
|
yamlVersion=1.24
|
|
|
|
# Gradle plugins
|
|
artifactoryVersion=4.9.8
|
|
bintrayVersion=1.8.4
|
|
buildScanVersion=2.4
|
|
dokkaVersion=0.9.18
|
|
gradleVersionsPluginVersion=0.22.0
|
|
jacocoVersion=0.8.4
|
|
kotlinVersion=1.3.50
|
|
shadowVersion=5.1.0
|
|
sonarQubeVersion=2.7
|
|
|
|
# Gradle version
|
|
gradleVersion=5.6
|
|
|
|
kotlin.code.style=official
|
|
|
|
systemProp.sonar.host.url=http://localhost:9000
|
|
systemProp.detektVersion=detektVersion
|
|
systemProp.file.encoding=UTF-8
|