mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 15:15:45 +07:00
[starter eel] AT-1851 Workaround for uninitialized registry / bundles on Windows in unit tests
GitOrigin-RevId: 2c1628b06cc4aad1319f7091099d9786c120eb6e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
471222f0ba
commit
8850b5e6ff
+1
-1
@@ -44,7 +44,7 @@ abstract class IjentDeployingOverShellProcessStrategy(scope: CoroutineScope) : I
|
||||
createdShellProcess = shellProcess
|
||||
createDeployingContext(shellProcess.apply {
|
||||
val initializationTime = measureTime {
|
||||
withTimeout(Registry.intValue("ijent.shell.initialization.timeout").milliseconds) {
|
||||
withTimeout(runCatching { Registry.intValue("ijent.shell.initialization.timeout") }.getOrDefault(30_000).milliseconds) {
|
||||
write("set -ex")
|
||||
ensureActive()
|
||||
filterOutBanners()
|
||||
|
||||
Reference in New Issue
Block a user