> +
> +      Blob blob = blobBuilder.build();
> +      String container = getContainerName();
> +
> +      try {
> +         assertNotNull(view.getBlobStore().putBlob(container, blob));
> +
> +         blob = view.getBlobStore().getBlob(container, 
> blob.getMetadata().getName());
> +         String returnedString = getContentAsStringOrNullAndClose(blob);
> +         assertEquals(returnedString, "foo");
> +         validateMetadata(blob.getMetadata(), container, 
> blob.getMetadata().getName());
> +         checkContentMetadata(blob);
> +         PageSet<? extends StorageMetadata> set = 
> view.getBlobStore().list(container);
> +         assertThat(set).isNotEmpty();
> +      } finally {
> +         recycleContainerAndAddToPool(container);

Do you actually need `recycleContainer` here or does `returnContainer` suffice? 
 The former removes and creates a new container while the latter just empties 
and reuses the existing container.

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

Reply via email to