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 6e12fc4 commit 8a01815Copy full SHA for 8a01815
common/kotlinx-coroutines-core-common/test/selects/SelectTimeoutTest.kt
@@ -8,7 +8,6 @@ import kotlinx.coroutines.experimental.*
8
import kotlin.test.*
9
10
class SelectTimeoutTest : TestBase() {
11
-
12
@Test
13
fun testBasic() = runTest {
14
expect(1)
@@ -70,13 +69,13 @@ class SelectTimeoutTest : TestBase() {
70
69
val iterations =10_000
71
for (i in 0..iterations) {
72
val result = selectUnbiased<Int> {
73
- onTimeout(-10) {
+ onTimeout(-1000) {
74
0
75
}
76
onTimeout(0) {
77
1
78
79
- onTimeout(10) {
+ onTimeout(1000) {
80
expectUnreached()
81
2
82
0 commit comments