[rdct-tests] more consistent naming

# Conflicts:
#	community/platform/remoteDev-util/src/com/intellij/remoteDev/tests/impl/DistributedTestHost.kt

GitOrigin-RevId: a5b024a7a7389b882ecc03344733b19b4434c2be
This commit is contained in:
Anastasia Katsman
2024-12-24 16:58:06 +00:00
committed by intellij-monorepo-bot
parent 8f8b2ae2d3
commit 4643e7331a
@@ -168,7 +168,7 @@ open class DistributedTestHost(coroutineScope: CoroutineScope) {
// Tell test we are running it inside an agent
val agentInfo = AgentInfo(session.agentInfo, session.testClassName, session.testMethodName)
val (actionsMap, dimensionRequests) = testClassObject.initAgent(agentInfo)
val (actionsMap, getComponentDataRequests) = testClassObject.initAgent(agentInfo)
// Play test method
val testMethod = testClass.getMethod(session.testMethodName)
@@ -234,8 +234,7 @@ open class DistributedTestHost(coroutineScope: CoroutineScope) {
session.runNextActionGetComponentData.setSuspendPreserveClientId { _, parameters ->
val actionTitle = parameters.title
val queue = dimensionRequests[actionTitle]
?: error("There is no Action with name '$actionTitle', something went terribly wrong")
val queue = getComponentDataRequests[actionTitle] ?: error("There is no Action with name '$actionTitle', something went terribly wrong")
val action = queue.remove()
val timeout = action.timeout