SammyVimes commented on code in PR #10295:
URL: https://github.com/apache/ignite/pull/10295#discussion_r991014601


##########
modules/core/src/test/java/org/apache/ignite/testframework/junits/GridAbstractTest.java:
##########
@@ -748,6 +752,54 @@ private void cleanUpTestEnviroment() throws Exception {
         }
     }
 
+    /**
+     * Runs afterTest() callback method with necessary scaffolding.
+     */
+    private void runAfterTest() throws Exception {
+        AtomicBoolean afterTestFinished = new AtomicBoolean(false);
+
+        ScheduledExecutorService scheduler = 
scheduleThreadDumpOnAfterTestTimeOut(afterTestFinished);
+
+        try {
+            afterTest();

Review Comment:
   If this hangs forever, we won't be shutting down scheduler. But it should be 
ok, right?



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