> +   }
> +
> +   @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);

This is sensible... If the resource could be deleted without generating a task 
(200 response) this will actually be `null` but the delete operation succeeded. 
We should only do the polling if the URI is 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#r58623991

Reply via email to