Browse Source

[DOCS] Fix duplication in allocation commond test. (#71028)

Howard 4 years ago
parent
commit
ab10994c56

+ 1 - 1
server/src/test/java/org/elasticsearch/cluster/routing/allocation/AllocationCommandsTests.java

@@ -231,7 +231,7 @@ public class AllocationCommandsTests extends ESAllocationTestCase {
         } catch (IllegalArgumentException e) {
         }
 
-        logger.info("--> allocate the replica shard on on the second node");
+        logger.info("--> allocate the replica shard on the second node");
         newState = allocation.reroute(clusterState,
             new AllocationCommands(new AllocateReplicaAllocationCommand("test", 0, "node2")), false, false).getClusterState();
         assertThat(newState, not(equalTo(clusterState)));