Skip to content

Commit 7ae4d7f

Browse files
committed
Ignore freeze errors
1 parent 1341c26 commit 7ae4d7f

File tree

1 file changed

+3
-4
lines changed
  • ui-tests-starter/tst-243+/software/aws/toolkits/jetbrains/uitests

1 file changed

+3
-4
lines changed

ui-tests-starter/tst-243+/software/aws/toolkits/jetbrains/uitests/TestCIServer.kt

+3-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
package software.aws.toolkits.jetbrains.uitests
55

66
import com.intellij.ide.starter.ci.CIServer
7+
import com.intellij.ide.starter.report.ErrorType
78
import java.nio.file.Path
89

910
object TestCIServer : CIServer {
@@ -23,10 +24,8 @@ object TestCIServer : CIServer {
2324
}
2425

2526
override fun ignoreTestFailure(testName: String, message: String) {
26-
if (testName.startsWith("Not analyzed freeze")) {
27-
println("Ignored freeze")
28-
}
2927
}
3028

31-
override fun isTestFailureShouldBeIgnored(message: String) = false
29+
override fun isTestFailureShouldBeIgnored(message: String): Boolean = ErrorType.fromMessage(message) == ErrorType.FREEZE
30+
3231
}

0 commit comments

Comments
 (0)