ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Pavlov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-8025) Result of GridTestUtils.runMultiThreadedAsync has a bug in cancel() implementation
Date Fri, 23 Mar 2018 15:49:00 GMT

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

Mime
View raw message