assertEquals(size + nodesToRemove, conn.getNumberOfNodes());
}
List<String> nodes = conn.getNodes();
// Collections.shuffle(nodes); TODO
final List<String> removedNodes = nodes.subList(nodes.size() - nodesToRemove, nodes.size());
DeleteNodesByNameResult result = null;
switch (action) {
case SHUTDOWN:
result = conn.shutdownNodesByName(removedNodes);
break;
case KILL: