helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzh...@apache.org
Subject git commit: fix failing test
Date Thu, 07 Feb 2013 21:24:40 GMT
Updated Branches:
  refs/heads/master e0fc35aaf -> 73a8e9858


fix failing test


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/73a8e985
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/73a8e985
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/73a8e985

Branch: refs/heads/master
Commit: 73a8e9858ce9f73c24e7d529578efb9e865b14b8
Parents: e0fc35a
Author: zzhang <zzhang5@uci.edu>
Authored: Thu Feb 7 13:24:33 2013 -0800
Committer: zzhang <zzhang5@uci.edu>
Committed: Thu Feb 7 13:24:33 2013 -0800

----------------------------------------------------------------------
 .../helix/manager/zk/TestZkClusterManager.java     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/73a8e985/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkClusterManager.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkClusterManager.java
b/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkClusterManager.java
index c65ce24..50e8a2f 100644
--- a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkClusterManager.java
+++ b/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkClusterManager.java
@@ -97,9 +97,9 @@ public class TestZkClusterManager extends ZkUnitTestBase
     ZkHelixPropertyStore<ZNRecord> store = controller.getHelixPropertyStore();
     ZNRecord record = new ZNRecord("node_1");
     int options = 0;
-    store.set("node_1", record, AccessOption.PERSISTENT);
+    store.set("/node_1", record, AccessOption.PERSISTENT);
     Stat stat = new Stat();
-    record = store.get("node_1",stat, options);
+    record = store.get("/node_1",stat, options);
     AssertJUnit.assertEquals("node_1", record.getId());
 
     controller.getMessagingService();


Mime
View raw message