From 8d442c78c901430c4a1dbfe58e112e1417f59145 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 10 Feb 2026 15:46:41 +0400 Subject: [PATCH] IJPL-171426 Wait for backend side after frontend GitOrigin-RevId: 1f4064440acd51fd1d738fdb7fde54eb4de1e508 --- .../jetbrains/performancePlugin/utils/HighlightingTestUtil.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/utils/HighlightingTestUtil.kt b/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/utils/HighlightingTestUtil.kt index 7411694be647..cf85398fec0b 100644 --- a/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/utils/HighlightingTestUtil.kt +++ b/plugins/performanceTesting/core/src/com/jetbrains/performancePlugin/utils/HighlightingTestUtil.kt @@ -37,8 +37,8 @@ class HighlightingTestUtil { } @JvmStatic - suspend fun waitForAnalysisWithNewApproach(project: Project, span: Span?, timeout: Long?, suppressErrors: Boolean?) { - val timeoutDuration = if (timeout == 0L || timeout == null) 5.minutes else timeout.seconds + suspend fun waitForAnalysisWithNewApproach(project: Project, span: Span?, timeoutSeconds: Long?, suppressErrors: Boolean?) { + val timeoutDuration = if (timeoutSeconds == 0L || timeoutSeconds == null) 5.minutes else timeoutSeconds.seconds try { project.service().waitAnalysisToFinish(timeoutDuration, !(suppressErrors ?: true)) }