mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[junit] ensure test is marked failed even when incomplete event is received (IDEA-283215)
GitOrigin-RevId: 4573495e05a3869430f110dacb4b9b54a5e16fde
This commit is contained in:
committed by
intellij-monorepo-bot
parent
144a93eeb6
commit
31c7748884
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.execution.testframework.sm.runner;
|
||||
|
||||
import com.intellij.execution.testframework.Printer;
|
||||
@@ -325,6 +325,7 @@ public class GeneralIdBasedToSMTRunnerEventsConvertor extends GeneralTestEventsP
|
||||
+ comparisonFailureExpectedText + "\n"
|
||||
+ "Actual:\n"
|
||||
+ comparisonFailureActualText);
|
||||
testProxy.setTestFailed(failureMessage, stackTrace, testFailedEvent.isTestError());
|
||||
}
|
||||
long duration = testFailedEvent.getDurationMillis();
|
||||
if (duration >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user