From 63a201a1b6f8546bffdfe7a152ed18f9a7d26004 Mon Sep 17 00:00:00 2001 From: "Vladislav.Soroka" Date: Mon, 4 Dec 2017 16:39:13 +0300 Subject: [PATCH] IDEA-183164 Rerun failed tests button disappeared from the gradle test runner --- .../service/execution/ExternalSystemRunConfiguration.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java index be06196b76ef..8c0e75a14aff 100644 --- a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java +++ b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/execution/ExternalSystemRunConfiguration.java @@ -426,7 +426,9 @@ public class ExternalSystemRunConfiguration extends LocatableConfigurationBase i if (executionConsole instanceof BuildView) { actions = ((BuildView)executionConsole).getSwitchActions(); } - return new DefaultExecutionResult(executionConsole, processHandler, actions); + DefaultExecutionResult executionResult = new DefaultExecutionResult(executionConsole, processHandler, actions); + executionResult.setRestartActions(restartActions); + return executionResult; } private BuildProgressListener createBuildView(ExternalSystemTaskId id,