You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Kuznetsov (JIRA)" <ji...@apache.org> on 2018/03/22 16:00:00 UTC

[jira] [Created] (IGNITE-8025) Result of GridTestUtils.runMultiThreadedAsync has a bug in cancel() implementation

Andrey Kuznetsov created IGNITE-8025:
----------------------------------------

             Summary: Result of GridTestUtils.runMultiThreadedAsync has a bug in cancel() implementation
                 Key: IGNITE-8025
                 URL: https://issues.apache.org/jira/browse/IGNITE-8025
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Andrey Kuznetsov
             Fix For: 2.5
         Attachments: BugRunMTAsyncTest.java

GridTestUtils.runMultiThreadedAsync returns a future with cancel() support, but cancellation implementation never interrupts threads that execute user-provided tasks. That is, those threads can continue their execution even after test method finishes.

The reproducer attached demonstrates activity from threads created by test0 after test0 finished and test1 is being run.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)