sk0x50 commented on a change in pull request #230:
URL: https://github.com/apache/ignite-3/pull/230#discussion_r676523378



##########
File path: 
modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/IgnitionTest.java
##########
@@ -79,8 +78,8 @@
 
     /** */
     @AfterEach
-    void tearDown() throws Exception {
-        IgniteUtils.closeAll(startedNodes);
+    void tearDown() {
+        startedNodes.stream().map(Ignite::name).forEach(IgnitionManager::stop);

Review comment:
       `closeAll` closes all components except those that could not be stopped. 
`forEach` stops iteration immediately after the first component fails on stop. 
Is it ok for the test?




-- 
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