[starter eel] AT-1851 Workaround for uninitialized registry / bundles on Windows in unit tests

GitOrigin-RevId: 2c1628b06cc4aad1319f7091099d9786c120eb6e
This commit is contained in:
Nikita Kudrin
2025-02-06 10:14:05 +00:00
committed by intellij-monorepo-bot
parent 471222f0ba
commit 8850b5e6ff
@@ -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()