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

Jordan Zimmerman updated CURATOR-424:
-------------------------------------
    Description: 
E.g.

Async:

{code}
Stat stat = new Stat();
complete(client.getData().storingStatIn(stat).forPath("/test"));
{code}

The above code will not set the values for stat

  was:
E.g.

Async:

{code}
Stat stat = new Stat();
complete(client.getData().storingStatIn(stat).forPath("/test"));
{code}

Original DSL:

{code}
client.create().forPath("/test", "hey".getBytes());
Stat stat = new Stat();
client.getData().storingStatIn(stat).forPath("/test");
Assert.assertEquals(stat.getDataLength(), "hey".length());
{code}

The above code will not set the values for stat


> storingStatIn() methods are not working in async/background
> -----------------------------------------------------------
>
>                 Key: CURATOR-424
>                 URL: https://issues.apache.org/jira/browse/CURATOR-424
>             Project: Apache Curator
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 3.3.0
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>
> E.g.
> Async:
> {code}
> Stat stat = new Stat();
> complete(client.getData().storingStatIn(stat).forPath("/test"));
> {code}
> The above code will not set the values for stat



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to