You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Scott Blum (JIRA)" <ji...@apache.org> on 2016/02/08 18:26:40 UTC

[jira] [Resolved] (CURATOR-302) TestTreeCache.testKilledSession() fails in 3.0 branch

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

Scott Blum resolved CURATOR-302.
--------------------------------
    Resolution: Fixed

> TestTreeCache.testKilledSession() fails in 3.0 branch
> -----------------------------------------------------
>
>                 Key: CURATOR-302
>                 URL: https://issues.apache.org/jira/browse/CURATOR-302
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Recipes
>    Affects Versions: 3.1.0
>            Reporter: Scott Blum
>            Assignee: Scott Blum
>             Fix For: 3.1.0
>
>
> Jordan Zimmerman:
> {code}
> In this branch, TestTreeCache.testKilledSession() is failing at:
>         assertEvent(TreeCacheEvent.Type.NODE_REMOVED, "/test/me", "data".getBytes());
> {code}
> However, if I change the two asserts to:
> {code}
>         assertEvent(TreeCacheEvent.Type.INITIALIZED);
>         assertEvent(TreeCacheEvent.Type.NODE_REMOVED, "/test/me", "data".getBytes());
> {code}
> it works.
> Scott:
> It's looking like some kind of internal behavior change in the framework.  I'm going to have to add some tracing and compare the behaviors between trunk and 3.0 to uncover what changed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)