commit | b4a9cd3f8a52b9b62d3833edfb9076c0d792cbbb | [log] [tgz] |
---|---|---|
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | Mon Aug 13 11:42:28 2018 +0300 |
committer | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | Mon Aug 13 11:42:28 2018 +0300 |
tree | f49b71cb9e3da4ff6a3ca21089ceef2f56ab1d35 | |
parent | 21ce9c066c752adf4db1e8388a9d38a390b5f08b [diff] |
Decrease SendReceiveStressTest constant for JS on Windows
diff --git a/common/kotlinx-coroutines-core-common/test/channels/SendReceiveStressTest.kt b/common/kotlinx-coroutines-core-common/test/channels/SendReceiveStressTest.kt index 8e9abc8..698a5e7 100644 --- a/common/kotlinx-coroutines-core-common/test/channels/SendReceiveStressTest.kt +++ b/common/kotlinx-coroutines-core-common/test/channels/SendReceiveStressTest.kt
@@ -28,7 +28,7 @@ } private suspend fun testStress(channel: Channel<Int>) { - val n = 1_000 // Do not increase, otherwise node.js will fail with timeout :( + val n = 100 // Do not increase, otherwise node.js will fail with timeout :( val sender = launch(coroutineContext) { for (i in 1..n) { channel.send(i)