> +      final String requestId = api().add(params);
> +      assertTrue(operationSucceeded.apply(requestId), requestId);
> +   }
> +
> +   @Test(dependsOnMethods = "testCreate")
> +   public void testUpdate() {
> +      final UpdateAffinityGroupParams params = 
> UpdateAffinityGroupParams.builder().
> +              description(GROUP_NAME + " description").
> +              build();
> +
> +      final String requestId = api().update(GROUP_NAME, params);
> +      assertTrue(operationSucceeded.apply(requestId), requestId);
> +   }
> +
> +   @Test(dependsOnMethods = "testUpdate")
> +   public void testDelete() throws Exception {

Should this better be an `@AfterClass` so we also delete the group if the 
update test fails?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/150/files#r26705011

Reply via email to