You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by jx...@apache.org on 2018/07/13 00:04:36 UTC

[2/6] helix git commit: Fix TestStateTransitionPriorty test

Fix TestStateTransitionPriorty test


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

Branch: refs/heads/master
Commit: eac4940f3a02797106b65b108a1347d7155f80b1
Parents: cec3d44
Author: Junkai Xue <jx...@linkedin.com>
Authored: Thu Jun 7 11:06:51 2018 -0700
Committer: Junkai Xue <jx...@linkedin.com>
Committed: Thu Jul 12 16:53:12 2018 -0700

----------------------------------------------------------------------
 .../test/resources/TestPartitionLevelPriority.json   | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/eac4940f/helix-core/src/test/resources/TestPartitionLevelPriority.json
----------------------------------------------------------------------
diff --git a/helix-core/src/test/resources/TestPartitionLevelPriority.json b/helix-core/src/test/resources/TestPartitionLevelPriority.json
index 974f985..125277d 100644
--- a/helix-core/src/test/resources/TestPartitionLevelPriority.json
+++ b/helix-core/src/test/resources/TestPartitionLevelPriority.json
@@ -32,12 +32,6 @@
           "localhost_1" : "SLAVE",
           "localhost_2" : "SLAVE",
           "localhost_3" : "SLAVE"
-        },
-        "Partition_4" : {
-          "localhost_0" : "MASTER",
-          "localhost_1" : "SLAVE",
-          "localhost_2" : "SLAVE",
-          "localhost_3" : "SLAVE"
         }
       },
       "CurrentStateMap" : {
@@ -65,20 +59,13 @@
           "localhost_1" : "OFFLINE",
           "localhost_2" : "OFFLINE",
           "localhost_3" : "OFFLINE"
-        },
-        "Partition_4" : {
-          "localhost_0" : "SLAVE",
-          "localhost_1" : "MASTER",
-          "localhost_2" : "SLAVE",
-          "localhost_3" : "SLAVE"
         }
       },
       "ExpectedPriority" : [
         "Partition_2",
         "Partition_3",
         "Partition_1",
-        "Partition_0",
-        "Partition_4"
+        "Partition_0"
       ]
     },
     {