[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
This commit is contained in:
Dmitriy Novozhilov
2021-11-22 16:50:44 +03:00
committed by teamcityserver
parent ae967ec31b
commit 1e98748e0b
@@ -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"