Skip to content

Commit 1e98748

Browse files
demiurg906teamcityserver
authored and
teamcityserver
committed
[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
1 parent ae967ec commit 1e98748

File tree

1 file changed

+1
-1
lines changed
  • compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers

1 file changed

+1
-1
lines changed

Diff for: compiler/tests-common-new/tests/org/jetbrains/kotlin/test/backend/handlers/JvmBoxRunner.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ open class JvmBoxRunner(testServices: TestServices) : JvmBinaryArtifactHandler(t
209209
}
210210

211211
val process = launchSeparateJvmProcess(javaExe, module, classPath, mainClassAndArguments)
212-
process.waitFor(90, TimeUnit.SECONDS)
212+
process.waitFor(3, TimeUnit.MINUTES)
213213
return try {
214214
when (process.exitValue()) {
215215
0 -> "OK"

0 commit comments

Comments
 (0)