From e774d3e04c8176c35313bf1f196d05abbe810f2e Mon Sep 17 00:00:00 2001 From: Anastasia Katsman Date: Wed, 19 Nov 2025 15:34:11 +0100 Subject: [PATCH] AT-3038: drop non-relevant code GitOrigin-RevId: 91a84ffb0c9f5700fe7ad7dc74e2e68b8431c5d2 --- .../src/com/intellij/remoteDev/tests/impl/LambdaTestHost.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/LambdaTestHost.kt b/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/LambdaTestHost.kt index 03fe6f9089df..7d1b349fd405 100644 --- a/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/LambdaTestHost.kt +++ b/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/LambdaTestHost.kt @@ -266,15 +266,9 @@ open class LambdaTestHost(coroutineScope: CoroutineScope) { LOG.info("'$serializedLambda': received serialized lambda execution request") val providedCoroutineContext = Dispatchers.Default + CoroutineName("Lambda task: SerializedLambda:${serializedLambda.stepName}") - val requestFocusBeforeStart = false val clientId = providedCoroutineContext.clientId() ?: ClientId.current withContext(providedCoroutineContext) { - assert(ClientId.current == clientId) { "ClientId '${ClientId.current}' should equal $clientId one when test method starts" } - if (!app.isHeadlessEnvironment && (requestFocusBeforeStart ?: isCurrentThreadEdt())) { - requestFocus() - } - assert(ClientId.current == clientId) { "ClientId '${ClientId.current}' should equal $clientId one when after request focus" } val urls = serializedLambda.classPath.map { File(it).toURI().toURL() }