[TEST] Increase timelimit for running separate jvm process in box tests
Timelimit is increased from 1 to 1.5 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
This commit is contained in:
committed by
TeamCityServer
parent
cb0149cdca
commit
9ba6683472
+1
-1
@@ -209,7 +209,7 @@ open class JvmBoxRunner(testServices: TestServices) : JvmBinaryArtifactHandler(t
|
||||
}
|
||||
|
||||
val process = launchSeparateJvmProcess(javaExe, module, classPath, mainClassAndArguments)
|
||||
process.waitFor(1, TimeUnit.MINUTES)
|
||||
process.waitFor(90, TimeUnit.SECONDS)
|
||||
return try {
|
||||
when (process.exitValue()) {
|
||||
0 -> "OK"
|
||||
|
||||
Reference in New Issue
Block a user