Browse Source

[TEST] testRebalancePossible() may not have an assigned node id

Ali Beyad 9 years ago
parent
commit
38023fb58d

+ 0 - 1
core/src/test/java/org/elasticsearch/cluster/routing/allocation/BalancedSingleShardTests.java

@@ -120,7 +120,6 @@ public class BalancedSingleShardTests extends ESAllocationTestCase {
         assertEquals(Type.YES, rebalanceDecision.getCanRebalanceDecision().type());
         assertNotNull(rebalanceDecision.getFinalExplanation());
         assertEquals(clusterState.nodes().getSize() - 1, rebalanceDecision.getNodeDecisions().size());
-        assertNotNull(rebalanceDecision.getAssignedNodeId());
     }
 
     public void testRebalancingNotAllowedDueToCanAllocate() {