chesnokoff commented on code in PR #12228:
URL: https://github.com/apache/ignite/pull/12228#discussion_r2236523799


##########
modules/core/src/test/java/org/apache/ignite/internal/util/future/IgniteFutureImplTest.java:
##########
@@ -646,14 +650,14 @@ private TestClosure(CountDownLatch latch) {
 
         IgniteFuture<Integer> chained2 = 
createFuture(ffut0).chainAsync(chainClos, customExec);
 
-        chained2.listen(new TestClosure(latch1));
-

Review Comment:
   From IgniteFutureImpl#listen docs:
   
   > Registers a callback to be invoked when the future completes. If the 
future is already completed, callback will be invoked immediately in the 
current thread.
   
   So if chained2 is already completed, the TestClosure will be executed at the 
current thread



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