use of com.amazonaws.services.elasticloadbalancing.model.LoadBalancerDescription in project chassis by Kixeye.
the class ZookeeperElbFilterTest method matchingEnvironmentNoMatchingName.
@Test
public void matchingEnvironmentNoMatchingName() {
LoadBalancerDescription loadBalancer = new LoadBalancerDescription();
loadBalancer.setLoadBalancerName(ENVIRONMENT + "-Asgard-whatever");
Assert.assertFalse(filter.accept(loadBalancer));
}
use of com.amazonaws.services.elasticloadbalancing.model.LoadBalancerDescription in project chassis by Kixeye.
the class ZookeeperElbFilterTest method externalExhibitor.
@Test
public void externalExhibitor() {
LoadBalancerDescription loadBalancer = new LoadBalancerDescription();
List<ListenerDescription> listenerDescriptions = new ArrayList<>();
listenerDescriptions.add(new ListenerDescription());
loadBalancer.setListenerDescriptions(listenerDescriptions);
loadBalancer.setLoadBalancerName("exhibitor-" + ENVIRONMENT);
Assert.assertFalse(filter.accept(loadBalancer));
}
Aggregations