timoninmaxim commented on code in PR #10527:
URL: https://github.com/apache/ignite/pull/10527#discussion_r1103048376


##########
modules/core/src/test/java/org/apache/ignite/testframework/junits/common/GridCommonAbstractTest.java:
##########
@@ -2810,4 +2815,35 @@ protected DistributedChangeableProperty<Serializable> 
computeJobWorkerInterruptT
 
         return timeoutProperty;
     }
+
+    /** Clean work directory, excluding snapshot directory. */
+    protected IgniteEx restartWithCleanPersistence(int nodes, 
Collection<String> caches) throws Exception {
+        stopAllGrids();

Review Comment:
   I also thought this way. But it's possible that user might have some client 
nodes in random order. Then we should filter G.allGrids() for server nodes and 
client nodes, and re-start only server nodes. Looks too complicated actually.
   
   Then I think it's ok to specify nodes param for a while. Somebody who wants 
to use this method in the future can change it.
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to