jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] JClouds Profitbricks provider - LoadBalancer API (#143)
Date Mon, 09 Mar 2015 17:14:42 GMT
> +              .lanId("1")
> +              .serverIds(serverIds)
> +              .build();
> +
> +      LoadBalancer loadBalancer = api.loadBalancerApi().createLoadBalancer(payload);
> +
> +      System.out.println(loadBalancer);
> +      assertNotNull(loadBalancer);
> +
> +   }
> +
> +   @Test
> +   public void testGetAllLoadBalancers() {
> +      List<LoadBalancer> loadBalancers = api.loadBalancerApi().getAllLoadBalancers();
> +
> +      assertNotNull(loadBalancers);

The API should never return null lists. Remove this.
Also, should this be executed after creating the load balancer?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/143/files#r26055052
Mime
View raw message