We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6129c94 commit 2845fd4Copy full SHA for 2845fd4
core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/TestBase.kt
@@ -47,10 +47,12 @@ public actual open class TestBase actual constructor() {
47
*/
48
public actual val isStressTest = System.getProperty("stressTest") != null
49
50
+ public val stressTestMultiplierSqrt = if (isStressTest) 5 else 1
51
+
52
/**
53
* Multiply various constants in stress tests by this factor, so that they run longer during nightly stress test.
54
- public actual val stressTestMultiplier = if (isStressTest) 30 else 1
55
+ public actual val stressTestMultiplier = stressTestMultiplierSqrt * stressTestMultiplierSqrt
56
57
private var actionIndex = AtomicInteger()
58
private var finished = AtomicBoolean()
0 commit comments