Repository: curator
Updated Branches:
  refs/heads/persistent-watch d7bf1a246 -> 79de36d56


Need to set value of root to empty, not null


Project: http://git-wip-us.apache.org/repos/asf/curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/9cfc9d9c
Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/9cfc9d9c
Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/9cfc9d9c

Branch: refs/heads/persistent-watch
Commit: 9cfc9d9c0fd3f7bda49c798f5bde365583a14bf9
Parents: d7bf1a2
Author: randgalt <[email protected]>
Authored: Thu Oct 5 10:24:14 2017 +0200
Committer: randgalt <[email protected]>
Committed: Thu Oct 5 10:24:14 2017 +0200

----------------------------------------------------------------------
 .../recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/9cfc9d9c/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java
----------------------------------------------------------------------
diff --git 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java
 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java
index 03d0999..ba3e36a 100644
--- 
a/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java
+++ 
b/curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCacheBridgeWrapperRandomTree.java
@@ -65,7 +65,7 @@ public class TestTreeCacheBridgeWrapperRandomTree extends 
BaseTestTreeCache<Cura
 
     @Test
     public void testGiantRandomDeepTree() throws Exception {
-        client.create().forPath("/tree", null);
+        client.create().forPath("/tree", new byte[0]);
         CuratorFramework cl = client.usingNamespace("tree");
         cache = newCacheWithListeners(cl, "/");
         cache.start();

Reply via email to