> +
> +      PrivateNetwork updateResult = 
> privateNetworkApi().attachServer(currentPrivateNetwork.id(), 
> PrivateNetwork.Server.CreateServer.create(servers));
> +
> +      assertNotNull(updateResult);
> +
> +   }
> +
> +   @Test(dependsOnMethods = "testAttachServer")
> +   public void testListServers() {
> +      
> assertPrivateNetworkAvailable(ServerPrivateNetworkRef.create(currentServer.id(),
>  currentPrivateNetwork.id()));
> +      List<PrivateNetwork.Server> servers = 
> privateNetworkApi().listServers(currentPrivateNetwork.id());
> +
> +      Assert.assertTrue(servers.size() > 0);
> +   }
> +
> +   @Test(dependsOnMethods = "testListServers")

Better depend on the attach test too.

-- 
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/315/files/aec0775e803138e2a965a03a6035af54ad5e098f#r77631387

Reply via email to