> + assertNotNull(result);
> + assertEquals(result.id(), currentSharedStorage.id());
> + }
> +
> + @Test(dependsOnMethods = "testGet")
> + public void testUpdate() throws InterruptedException {
> + String updatedName = "Updatedjava";
> +
> + SharedStorage updateResult =
> sharedStorageApi().update(currentSharedStorage.id(),
> SharedStorage.UpdateSharedStorage.create(updatedName, "desc", null));
> +
> + assertNotNull(updateResult);
> + assertEquals(updateResult.name(), updatedName);
> +
> + }
> +
> + @Test(dependsOnMethods = "testUpdate")
Looks like it could run as the first test after the setup, as it just needs the
shared storage. Is there a real need for this dependency?
---
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#r72953565