fix log message

This commit is contained in:
kimchy 2010-06-29 19:49:28 +03:00
parent bc803b4fcf
commit 01ff81fa89
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class PrimaryElectionRoutingTests {
ClusterState clusterState = newClusterStateBuilder().metaData(metaData).routingTable(routingTable).build(); ClusterState clusterState = newClusterStateBuilder().metaData(metaData).routingTable(routingTable).build();
logger.info("Adding three nodes and performing rerouting"); logger.info("Adding two nodes and performing rerouting");
clusterState = newClusterStateBuilder().state(clusterState).nodes(newNodesBuilder().put(newNode("node1")).put(newNode("node2"))).build(); clusterState = newClusterStateBuilder().state(clusterState).nodes(newNodesBuilder().put(newNode("node1")).put(newNode("node2"))).build();
RoutingTable prevRoutingTable = routingTable; RoutingTable prevRoutingTable = routingTable;
routingTable = strategy.reroute(clusterState); routingTable = strategy.reroute(clusterState);