> +      servers.add(toAdd);
> +      SharedStorage updateResult = 
> sharedStorageApi().attachServer(currentSharedStorage.id(), 
> SharedStorage.Server.CreateServer.create(servers));
> +
> +      assertNotNull(updateResult);
> +
> +   }
> +
> +   @Test(dependsOnMethods = "testAttachServer")
> +   public void testListServers() {
> +      List<SharedStorage.Server> servers = 
> sharedStorageApi().getServers(currentSharedStorage.id());
> +
> +      assertNotNull(servers);
> +      Assert.assertTrue(servers.size() > 0);
> +   }
> +
> +   @Test(dependsOnMethods = "testListServers")

Better depend on the attach test too, to minimize the chances for this to be 
skipped.

---
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/304/files/b4ecd2bdfe26ff68d6dd6c9e03a4de2e3eba3fe2#r72953654

Reply via email to