> +         if (testRole != null) {
> +            final String roleId = testRole.getId();
> +            boolean success = roleAdminOption.get().delete(roleId);
> +            assertTrue(retry(new Predicate<RoleAdminApi>() {
> +               public boolean apply(RoleAdminApi roleApi) {
> +                  return roleApi.get(roleId) == null;
> +               }
> +            }, 5 * 1000L).apply(roleAdminOption.get()));
> +         }
> +      }
> +      super.tearDown();
> +   }
> +
> +   @Test
> +   public void testCreateRole() {
> +      if (roleAdminOption.isPresent()) {

Better throw an `SkipException` to show that the test was not executed and why?

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

Reply via email to