Skip to content

Commit a9d7b63

Browse files
committed
Increase timeout for RPC_should... test
1 parent 411f6fb commit a9d7b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

krpc/krpc-test/src/commonMain/kotlin/kotlinx/rpc/krpc/test/KrpcTransportTestBase.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ abstract class KrpcTransportTestBase {
331331
}
332332

333333
@Test
334-
fun RPC_should_be_able_to_receive_100_000_ints_in_reasonable_time() = runTest(timeout = JS_EXTENDED_TIMEOUT) {
334+
fun RPC_should_be_able_to_receive_100_000_ints_in_reasonable_time() = runTest(timeout = EXTENDED_TIMEOUT) {
335335
val n = 100_000
336336
var counter = 0
337337
val last = client.getNInts(n).onEach {
@@ -505,6 +505,6 @@ abstract class KrpcTransportTestBase {
505505
}
506506
}
507507

508-
private val JS_EXTENDED_TIMEOUT = if (isJs) 400.seconds else 120.seconds
508+
private val EXTENDED_TIMEOUT = if (isJs) 500.seconds else 200.seconds
509509

510510
internal expect val isJs: Boolean

0 commit comments

Comments
 (0)