> +      assertNotNull(updateResult);
> +      assertEquals(updateResult.name(), updatedName);
> +
> +   }
> +
> +   @Test(dependsOnMethods = "testUpdate")
> +   public void testAssignServerIp() throws InterruptedException {
> +      assertNodeAvailable(currentServer);
> +      currentServer = updateServerStatus(currentServer);
> +      List<String> ips = new ArrayList<String>();
> +      ips.add(currentServer.ips().get(0).id());
> +      LoadBalancer.ServerIp.CreateServerIp toAdd = 
> LoadBalancer.ServerIp.CreateServerIp.create(ips);
> +
> +      LoadBalancer updateResult = 
> loadBalancerApi().assignServerIp(currentLoadBalancer.id(), toAdd);
> +      assertEquals(updateResult.serverIps().get(0).id(), 
> currentServer.ips().get(0).id());
> +      assertNotNull(updateResult);

This is redundant here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/307/files/915aa395f4fe7805f8c6fe7f0e333184935eb43c#r74425677

Reply via email to