use of com.sequenceiq.cloudbreak.ha.domain.Node in project cloudbreak by hortonworks.
the class EvenFlowDistributorTest method testFlowDistributionSingleNode.
@Test
public void testFlowDistributionSingleNode() {
Node node = new Node(MY_ID);
List<String> flowLogs = getFlowIds(11);
Map<Node, List<String>> result = flowDistributor.distribute(flowLogs, Collections.singletonList(node));
assertEquals(11L, result.get(node).size());
}
Aggregations