File tree 1 file changed +3
-2
lines changed
kotlinx-coroutines-core/jvm/test/channels
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ import org.junit.*
10
10
import org.junit.Assert.*
11
11
import org.junit.runner.*
12
12
import org.junit.runners.*
13
- import kotlin.random.Random
14
13
import java.util.concurrent.atomic.*
14
+ import kotlin.random.*
15
15
16
16
/* *
17
17
* Tests cancel atomicity for channel send & receive operations, including their select versions.
@@ -24,7 +24,8 @@ class ChannelAtomicCancelStressTest(private val kind: TestChannelKind) : TestBas
24
24
fun params (): Collection <Array <Any >> = TestChannelKind .values().map { arrayOf<Any >(it) }
25
25
}
26
26
27
- private val TEST_DURATION = 1000L * stressTestMultiplier
27
+ // todo: restore regular duration
28
+ private val TEST_DURATION = 10_000L * stressTestMultiplier
28
29
29
30
private val dispatcher = newFixedThreadPoolContext(2 , " ChannelAtomicCancelStressTest" )
30
31
private val scope = CoroutineScope (dispatcher)
You can’t perform that action at this time.
0 commit comments