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 Tue, 05 Feb 2013 02:00:57 GMT
Updated Branches:
  refs/heads/master b71133334 -> 9b4a9e5d7


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/9b4a9e5d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/9b4a9e5d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/9b4a9e5d

Branch: refs/heads/master
Commit: 9b4a9e5d7fbfed520d011871f329ed58b95389a3
Parents: b711333
Author: zzhang <zzhang5@uci.edu>
Authored: Mon Feb 4 18:00:48 2013 -0800
Committer: zzhang <zzhang5@uci.edu>
Committed: Mon Feb 4 18:00:48 2013 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/9b4a9e5d/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkCacheSyncOpSingleThread.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkCacheSyncOpSingleThread.java
b/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkCacheSyncOpSingleThread.java
index 7098b2c..975446b 100644
--- a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkCacheSyncOpSingleThread.java
+++ b/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkCacheSyncOpSingleThread.java
@@ -212,7 +212,7 @@ public class TestZkCacheSyncOpSingleThread extends ZkUnitTestBase
     // System.out.println("ret: " + ret);
     Assert.assertTrue(ret, "zkCache doesn't match data on Zk");
     System.out.println("deleteCnt: " + listener._deletePathQueue.size());
-    Assert.assertTrue(listener._deletePathQueue.size() > 10,
+    Assert.assertTrue(listener._deletePathQueue.size() >= 10,
                         "Shall get at least 10 onDelete callbacks.");
 
     // verify each callback path


Mime
View raw message