fix log message
This commit is contained in:
parent
bc803b4fcf
commit
01ff81fa89
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue