mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test framework [driver]: speed up tests by decreasing intervals
GitOrigin-RevId: 87a1bcdb015aad5a7e6dae3018008a06c6b5383b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3b10fc03bc
commit
039a3e41cd
+2
-2
@@ -65,7 +65,7 @@ open class BackgroundRun(override val startResult: Deferred<IDEStartResult>, dri
|
||||
takeScreenshot("beforeIdeClosed")
|
||||
}
|
||||
exitApplication()
|
||||
waitFor("$logPrefix Driver is not connected", closeIdeTimeout, 3.seconds) { !isConnected }
|
||||
waitFor("$logPrefix Driver is not connected", closeIdeTimeout) { !isConnected }
|
||||
}
|
||||
else {
|
||||
error("$logPrefix Driver is not connected, so it can't exit IDE")
|
||||
@@ -78,7 +78,7 @@ open class BackgroundRun(override val startResult: Deferred<IDEStartResult>, dri
|
||||
finally {
|
||||
try {
|
||||
if (isConnected) close()
|
||||
waitFor("$logPrefix Process is closed", closeIdeTimeout, 3.seconds) { !process.isAlive }
|
||||
waitFor("$logPrefix Process is closed", closeIdeTimeout) { !process.isAlive }
|
||||
}
|
||||
catch (e: Throwable) {
|
||||
logError("$logPrefix Error waiting IDE is closed", e)
|
||||
|
||||
Reference in New Issue
Block a user