@Test
public void testMongoGroupScanAssignmentAllAffinity()
throws UnknownHostException, ExecutionSetupException {
final List<DrillbitEndpoint> endpoints = Lists.newArrayList();
final DrillbitEndpoint DB_A = DrillbitEndpoint.newBuilder()
.setAddress(HOST_A).setControlPort(1234).build();
endpoints.add(DB_A);
final DrillbitEndpoint DB_B = DrillbitEndpoint.newBuilder()
.setAddress(HOST_B).setControlPort(1234).build();
endpoints.add(DB_B);
final DrillbitEndpoint DB_C = DrillbitEndpoint.newBuilder()
.setAddress(HOST_C).setControlPort(1234).build();
endpoints.add(DB_C);
final DrillbitEndpoint DB_D = DrillbitEndpoint.newBuilder()
.setAddress(HOST_D).setControlPort(1234).build();
endpoints.add(DB_D);
mongoGroupScan.applyAssignments(endpoints);