[
https://issues.apache.org/jira/browse/CURATOR-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971940#comment-15971940
]
ASF GitHub Bot commented on CURATOR-351:
----------------------------------------
Github user cammckenzie commented on a diff in the pull request:
https://github.com/apache/curator/pull/171#discussion_r111854284
--- Diff:
curator-recipes/src/test/java/org/apache/curator/framework/recipes/nodes/TestPersistentTtlNode.java
---
@@ -44,25 +45,49 @@ public void testBasic() throws Exception
{
client.start();
- try (PersistentTtlNode node = new PersistentTtlNode(client,
"/test", 10, new byte[0]))
+ try (PersistentTtlNode node = new PersistentTtlNode(client,
"/test", 100, new byte[0]))
{
node.start();
node.waitForInitialCreate(timing.session(),
TimeUnit.MILLISECONDS);
--- End diff --
This should probably assert that the return is true?
> ZOOKEEPER-2169 will add support TTL Nodes
> -----------------------------------------
>
> Key: CURATOR-351
> URL: https://issues.apache.org/jira/browse/CURATOR-351
> Project: Apache Curator
> Issue Type: New Feature
> Reporter: Jordan Zimmerman
> Assignee: Jordan Zimmerman
> Fix For: TBD
>
>
> ZOOKEEPER-2169 will add support TTL Nodes. Upgrade the Curator DSL to support
> TTLs.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)