From faaf40dbe5c9850c972176c55688c807417e51d9 Mon Sep 17 00:00:00 2001 From: Vladimir Ilmov Date: Wed, 27 May 2020 13:39:19 +0200 Subject: [PATCH] (CoroutineDebugger) Windows test fix for kotlinx-coroutines-core --- .../kotlin/idea/debugger/test/util/KotlinOutputChecker.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt index 02f126a0785..7f04d915f6e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt @@ -110,7 +110,9 @@ internal class KotlinOutputChecker( lines[disconnectedIndex] = DISCONNECT_PREFIX return lines - .map { it.replace("FRAME:(.*):\\d+".toRegex(), "$1:!LINE_NUMBER!") } + .map { it.replace("FRAME:(.*):\\d+".toRegex(), "$1:!LINE_NUMBER!") } + // kotlinx-coroutines-core temporary fix for windows agents + .filter { it == "Failed to install signal handler: java.lang.IllegalArgumentException: Unknown signal: TRAP" } .filter { !(it.matches(JDI_BUG_OUTPUT_PATTERN_1) || it.matches(JDI_BUG_OUTPUT_PATTERN_2)) } .joinToString("\n") }