> +   public String imageId;
> +
> +   @Override
> +   protected void initialize() {
> +      super.initialize();
> +
> +      List<Server> servers = api.serverApi().getAllServers();
> +      assertNotNull(servers, "At least one server is required to run drives 
> test.");
> +
> +      Server server = Iterables.getFirst(servers, null);
> +      assertNotNull(server);
> +
> +      this.serverId = server.id();
> +
> +      List<Image> images = api.imageApi().getAllImages();
> +      assertNotNull(images, "At least one image is required to run drives 
> test.");

Same comment about null lists.

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

Reply via email to