Skip to content

Commit

Permalink
[starter] check if exception should be ignored also based on stacktrace
Browse files Browse the repository at this point in the history
GitOrigin-RevId: f3b21f00b7eea3ddb399f53ba0517bc54cd9761f
  • Loading branch information
Litemn authored and intellij-monorepo-bot committed Nov 8, 2024
1 parent 939ae1a commit a3f69c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ object ErrorReporterToCI: ErrorReporter {
val failureDetailsProvider = FailureDetailsOnCI.instance
val failureDetailsMessage = failureDetailsProvider.getFailureDetails(runContext)
val urlToLogs = failureDetailsProvider.getLinkToCIArtifacts(runContext).toString()
if (CIServer.instance.isTestFailureShouldBeIgnored(messageText)) {
if (CIServer.instance.isTestFailureShouldBeIgnored(messageText) || CIServer.instance.isTestFailureShouldBeIgnored(stackTraceContent)) {
CIServer.instance.ignoreTestFailure(testName = generifyErrorMessage(testName),
message = failureDetailsMessage)
}
Expand Down

0 comments on commit a3f69c2

Please sign in to comment.