File tree 1 file changed +5
-5
lines changed
kotlinx-coroutines-core/jvm/test
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
package kotlinx.coroutines
5
5
@@ -16,16 +16,16 @@ abstract class AbstractLincheckTest {
16
16
17
17
@Test
18
18
fun modelCheckingTest () = ModelCheckingOptions ()
19
- .iterations(if (isStressTest) 200 else 20 )
20
- .invocationsPerIteration(if (isStressTest) 10_000 else 1_000 )
19
+ .iterations(20 * stressTestMultiplierSqrt )
20
+ .invocationsPerIteration(1_000 * stressTestMultiplierSqrt )
21
21
.commonConfiguration()
22
22
.customize(isStressTest)
23
23
.check(this ::class )
24
24
25
25
@Test
26
26
fun stressTest () = StressOptions ()
27
- .iterations(if (isStressTest) 200 else 20 )
28
- .invocationsPerIteration(if (isStressTest) 10_000 else 1_000 )
27
+ .iterations(20 * stressTestMultiplierSqrt )
28
+ .invocationsPerIteration(1_000 * stressTestMultiplierSqrt )
29
29
.commonConfiguration()
30
30
.customize(isStressTest)
31
31
.check(this ::class )
You can’t perform that action at this time.
0 commit comments