You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2018/03/23 15:49:00 UTC
[jira] [Comment Edited] (IGNITE-8025) Result of
GridTestUtils.runMultiThreadedAsync has a bug in cancel() implementation
[ https://issues.apache.org/jira/browse/IGNITE-8025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411596#comment-16411596 ]
Dmitriy Pavlov edited comment on IGNITE-8025 at 3/23/18 3:48 PM:
-----------------------------------------------------------------
[~andrey-kuznetsov], I left one question in the review, will review later rest of this change.
was (Author: dpavlov):
[~andrey-kuznetsov], I left one question, will review later rest of this change.
> 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
> Assignee: Andrey Kuznetsov
> Priority: Major
> Labels: MakeTeamcityGreenAgain, test
> 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)