File tree 1 file changed +4
-4
lines changed
kotlinx-coroutines-core/jvm/test
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ abstract class AbstractLincheckTest {
13
13
14
14
@Test
15
15
fun modelCheckingTest () = ModelCheckingOptions ()
16
- .iterations(if (isStressTest) 200 else 20 )
17
- .invocationsPerIteration(if (isStressTest) 10_000 else 1_000 )
16
+ .iterations(20 * stressTestMultiplierSqrt )
17
+ .invocationsPerIteration(1_000 * stressTestMultiplierSqrt )
18
18
.commonConfiguration()
19
19
.customize(isStressTest)
20
20
.check(this ::class )
21
21
22
22
@Test
23
23
fun stressTest () = StressOptions ()
24
- .iterations(if (isStressTest) 200 else 20 )
25
- .invocationsPerIteration(if (isStressTest) 10_000 else 1_000 )
24
+ .iterations(20 * stressTestMultiplierSqrt )
25
+ .invocationsPerIteration(1_000 * stressTestMultiplierSqrt )
26
26
.commonConfiguration()
27
27
.customize(isStressTest)
28
28
.check(this ::class )
You can’t perform that action at this time.
0 commit comments