> +            return cdrom.metadata().state() == State.AVAILABLE;
> +         }
> +      }, complexId(server.dataCenterId(), server.id(), cdRomId));
> +   }
> +
> +   private void assertCdromRemoved(Server server, String cdRomId) {
> +      assertRandom(new Predicate<String>() {
> +         @Override
> +         public boolean apply(String args) {
> +            String[] params = args.split(",");
> +            return serverApi().getCdrom(params[0], params[1], params[2]) == 
> null;
> +         }
> +      }, complexId(server.dataCenterId(), server.id(), cdRomId));
> +   }
> +   
> +}

Also add the live test for the `getVolume` method.

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

Reply via email to