From 914bdb0ab97cd146ab11eb077c9df051e0c282bd Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Wed, 26 Apr 2017 14:23:26 +0200 Subject: [PATCH] preserve execution order of repeated tests --- .../sm/runner/GeneralToSMTRunnerEventsConvertor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralToSMTRunnerEventsConvertor.java b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralToSMTRunnerEventsConvertor.java index 3f1bfb1b0f07..605f4d4cd556 100644 --- a/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralToSMTRunnerEventsConvertor.java +++ b/platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralToSMTRunnerEventsConvertor.java @@ -278,7 +278,7 @@ public class GeneralToSMTRunnerEventsConvertor extends GeneralTestEventsProcesso final Function nameFunction, boolean preferSuite) { if (myTreeBuildBeforeStart) { - Set acceptedProxies = new HashSet<>(); + Set acceptedProxies = new LinkedHashSet<>(); final Collection children = myGetChildren ? parentSuite.getChildren() : myCurrentChildren; for (SMTestProxy proxy : children) { if (fullName.equals(nameFunction.fun(proxy)) && !proxy.isFinal()) {