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/06 19:41:39 UTC

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

Scott Blum created CURATOR-302:
----------------------------------

             Summary: 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


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)