You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ka...@apache.org on 2013/10/18 01:03:27 UTC

git commit: [HELIX-144] Validate StateModelDefinition before adding it to the cluster (fix test failure), rb=14704

Updated Branches:
  refs/heads/master fbdafa677 -> 427cc97f5


[HELIX-144] Validate StateModelDefinition before adding it to the cluster (fix test failure), rb=14704


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

Branch: refs/heads/master
Commit: 427cc97f5d7aaceec6e86dc25dd7f952674aed29
Parents: fbdafa6
Author: Kanak Biscuitwala <ka...@apache.org>
Authored: Thu Oct 17 16:02:54 2013 -0700
Committer: Kanak Biscuitwala <ka...@apache.org>
Committed: Thu Oct 17 16:02:54 2013 -0700

----------------------------------------------------------------------
 helix-core/src/test/java/org/apache/helix/TestHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/427cc97f/helix-core/src/test/java/org/apache/helix/TestHelper.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/TestHelper.java b/helix-core/src/test/java/org/apache/helix/TestHelper.java
index 5c4749e..77d5c0e 100644
--- a/helix-core/src/test/java/org/apache/helix/TestHelper.java
+++ b/helix-core/src/test/java/org/apache/helix/TestHelper.java
@@ -800,7 +800,7 @@ public class TestHelper {
     stateTransitionPriorityList.add("OFFLINE-IDLE");
     stateTransitionPriorityList.add("IDLE-OFFLINE");
     stateTransitionPriorityList.add("IDLE-DROPPED");
-    stateTransitionPriorityList.add("ERROR-IDLED");
+    stateTransitionPriorityList.add("ERROR-IDLE");
     record.setListField(StateModelDefinitionProperty.STATE_TRANSITION_PRIORITYLIST.toString(),
         stateTransitionPriorityList);
     return new StateModelDefinition(record);