helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject git commit: [HELIX-7]Update the max wait time for alert mbean observer to catch up with opened mbeans in a test case.
Date Thu, 13 Dec 2012 23:39:03 GMT
Updated Branches:
  refs/heads/master 378b8d715 -> e36aa740a


[HELIX-7]Update the max wait time for alert mbean observer to catch up
with
opened mbeans in a test case.

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

Branch: refs/heads/master
Commit: e36aa740a008952943d2235c6639953cbfdda2a6
Parents: 378b8d7
Author: slu2011 <lushi04@gmail.com>
Authored: Thu Dec 13 15:37:52 2012 -0800
Committer: slu2011 <lushi04@gmail.com>
Committed: Thu Dec 13 15:37:52 2012 -0800

----------------------------------------------------------------------
 .../TestClusterAlertItemMBeanCollection.java       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/e36aa740/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.java
b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.java
index 997a81e..09f6699 100644
--- a/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.java
+++ b/helix-core/src/test/java/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.java
@@ -250,7 +250,7 @@ public class TestClusterAlertItemMBeanCollection
     beanCollection.setAlerts(originAlert1, alertResultMap1, clusterName);
     beanCollection.checkMBeanFreshness(200);
     
-    for(int i = 0; i < 10; i++)
+    for(int i = 0; i < 20; i++)
     {
       Thread.sleep(500);
       


Mime
View raw message