diff --git a/core/src/test/java/org/elasticsearch/cluster/routing/allocation/BalancedSingleShardTests.java b/core/src/test/java/org/elasticsearch/cluster/routing/allocation/BalancedSingleShardTests.java index 794d849bbe6..1ae1620520e 100644 --- a/core/src/test/java/org/elasticsearch/cluster/routing/allocation/BalancedSingleShardTests.java +++ b/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() {