From 2cf7de6d52dc63e2c8737846241b240ea6d68931 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 11 Jun 2015 20:36:04 +0300 Subject: [PATCH] do not hang tests on assertion --- .../intellij/debugger/ExecutionWithDebuggerToolsTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java b/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java index 615ed5c65193..e1ab9ff4e3cf 100644 --- a/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java +++ b/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java @@ -138,6 +138,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa } catch (AssertionError e) { addException(e); + paused(suspendContext); } if (myScriptRunnables.isEmpty()) {