You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2018/02/01 22:52:52 UTC

[jira] [Closed] (GEODE-4134) RegionVersionVectorTest.doesNotHangIfOtherThreadChangedVersion has potential to hang

     [ https://issues.apache.org/jira/browse/GEODE-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapnil Bawaskar closed GEODE-4134.
-----------------------------------

> RegionVersionVectorTest.doesNotHangIfOtherThreadChangedVersion has potential to hang
> ------------------------------------------------------------------------------------
>
>                 Key: GEODE-4134
>                 URL: https://issues.apache.org/jira/browse/GEODE-4134
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>             Fix For: 1.4.0
>
>
> RegionVersionVectorTest.doesNotHangIfOtherThreadChangedVersion has potential to hang if the bug is reintroduced. The reason is that CompletableFuture cancel(true) does not interrupt the thread executing the task. Specifying an ExecutorService and invoking shutdownNow fixes this.



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