helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [27/53] [abbrv] git commit: [HELIX-243] Fix one failing test
Date Thu, 07 Nov 2013 01:19:35 GMT
[HELIX-243] Fix one 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/ae10d002
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/ae10d002
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/ae10d002

Branch: refs/heads/master
Commit: ae10d00212cdbf77292abaf43446facc8c3f67bd
Parents: 8c17dac
Author: Kanak Biscuitwala <kanak@apache.org>
Authored: Mon Sep 30 17:18:54 2013 -0700
Committer: Kanak Biscuitwala <kanak@apache.org>
Committed: Wed Nov 6 13:17:35 2013 -0800

----------------------------------------------------------------------
 .../java/org/apache/helix/integration/TestSchedulerMessage.java    | 1 +
 .../src/main/java/org/apache/helix/examples/NewModelExample.java   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/ae10d002/helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
b/helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
index 292eca3..8af9f14 100644
--- a/helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
+++ b/helix-core/src/test/java/org/apache/helix/integration/TestSchedulerMessage.java
@@ -526,6 +526,7 @@ public class TestSchedulerMessage extends ZkStandAloneCMTestBaseWithPropertyServ
           callback._message.getResultMap().get(
               DefaultSchedulerMessageHandlerFactory.SCHEDULER_MSG_ID);
 
+      Thread.sleep(1000);
       HelixDataAccessor helixDataAccessor = manager.getHelixDataAccessor();
       Builder keyBuilder = helixDataAccessor.keyBuilder();
 

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/ae10d002/helix-examples/src/main/java/org/apache/helix/examples/NewModelExample.java
----------------------------------------------------------------------
diff --git a/helix-examples/src/main/java/org/apache/helix/examples/NewModelExample.java b/helix-examples/src/main/java/org/apache/helix/examples/NewModelExample.java
index 2de8dda..75e7a50 100644
--- a/helix-examples/src/main/java/org/apache/helix/examples/NewModelExample.java
+++ b/helix-examples/src/main/java/org/apache/helix/examples/NewModelExample.java
@@ -171,7 +171,7 @@ public class NewModelExample {
     Partition partition2 = new Partition(PartitionId.from(resourceId, "2"));
 
     // specify the rebalancer configuration
-    // this resource will be rebalanced in FULL_AUTO mode, so use the FullAutoRebalancerConfig
+    // this resource will be rebalanced in FULL_AUTO mode, so use the FullAutoRebalancerContext
     // builder
     FullAutoRebalancerContext.Builder rebalanceContextBuilder =
         new FullAutoRebalancerContext.Builder(resourceId).replicaCount(1).addPartition(partition1)


Mime
View raw message