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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)