> +   }
> +
> +   @Test(dependsOnMethods = "testCreate")
> +   public void testUpdateWithTag() {
> +      ImmutableMap<String, String> tags = ImmutableMap.<String, 
> String>builder().put("test1", "value1").build();
> +
> +      final ResourceGroup resourceGroup = api().update("jcloudstest", tags);
> +
> +      assertEquals(resourceGroup.tags().size(), 1);
> +      assertEquals(resourceGroup.properties().provisioningState(), 
> "Succeeded");
> +   }
> +
> +   @AfterClass(alwaysRun = true)
> +   public void testDelete() throws Exception {
> +      URI uri =  api().delete(resourcegroup);
> +      assertNotNull(uri);

Should we guard the code against a null URI? Just succeed if the uri is null, 
and only do the job status polling if not null?

---
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/250/files/8d7d68bf33361d7f5df68c7e7232b03116ed6977#r58669032

Reply via email to