Skip to content

Commit b4a9cd3

Browse files
committed
Decrease SendReceiveStressTest constant for JS on Windows
1 parent 21ce9c0 commit b4a9cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/kotlinx-coroutines-core-common/test/channels/SendReceiveStressTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SendReceiveStressTest : TestBase() {
2828
}
2929

3030
private suspend fun testStress(channel: Channel<Int>) {
31-
val n = 1_000 // Do not increase, otherwise node.js will fail with timeout :(
31+
val n = 100 // Do not increase, otherwise node.js will fail with timeout :(
3232
val sender = launch(coroutineContext) {
3333
for (i in 1..n) {
3434
channel.send(i)

0 commit comments

Comments
 (0)