From 1e98748e0b40a2d2fa2bb052751ca5e4a50a557e Mon Sep 17 00:00:00 2001 From: Dmitriy Novozhilov Date: Mon, 22 Nov 2021 16:50:44 +0300 Subject: [PATCH] [Test] Increase timelimit for running separate jvm process in box tests Timelimit is increased from 1.5 to 3 minutes because in some cases (in parcelize tests) on windows tests can don't fit in 1 minute limit, which causes flaky failures of tests Value of 3 minutes is taken from old parcelize tests --- .../org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt index 05490e1b34f..d9637ab7318 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt @@ -209,7 +209,7 @@ open class JvmBoxRunner(testServices: TestServices) : JvmBinaryArtifactHandler(t } val process = launchSeparateJvmProcess(javaExe, module, classPath, mainClassAndArguments) - process.waitFor(90, TimeUnit.SECONDS) + process.waitFor(3, TimeUnit.MINUTES) return try { when (process.exitValue()) { 0 -> "OK"