alievmirza commented on code in PR #6243:
URL: https://github.com/apache/ignite-3/pull/6243#discussion_r2216075283


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/ItIgniteInMemoryNodeRestartTest.java:
##########
@@ -85,99 +74,15 @@ public class ItIgniteInMemoryNodeRestartTest extends 
BaseIgniteRestartTest {
     /** Test table name. */
     private static final String TABLE_NAME = "Table1";
 
-    /** Cluster nodes. */
-    private static final List<Ignite> CLUSTER_NODES = new ArrayList<>();
-
-    /**
-     * Stops all started nodes.
-     */
-    @AfterEach
-    public void afterEach() throws Exception {
-        var closeables = new ArrayList<AutoCloseable>();
-
-        for (IgniteServer node : IGNITE_SERVERS) {
-            if (node != null) {
-                closeables.add(node::shutdown);
-            }
-        }
-
-        IgniteUtils.closeAll(closeables);
-
-        CLUSTER_NODES.clear();
-    }
-
-    /**
-     * Start node with the given parameters.
-     *
-     * @param idx Node index, is used to stop the node later, see {@link 
#stopNode(int)}.
-     * @param nodeName Node name.
-     * @param cfgString Configuration string.
-     * @param workDir Working directory.
-     * @return Created node instance.
-     */
-    private static IgniteImpl startNode(int idx, String nodeName, @Nullable 
String cfgString, Path workDir) {

Review Comment:
   it literally copy-paste from `BaseIgniteRestartTest`, could be reused 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to