> @@ -272,10 +274,10 @@ public void deleteContainerWithContents() throws 
> InterruptedException {
>        String containerName = getContainerName();
>        try {
>           addBlobToContainer(containerName, "test");
> -         view.getBlobStore().deleteContainer(containerName);
> -         assertNotExists(containerName);
> +         
> assertFalse(view.getBlobStore().deleteContainerIfEmpty(containerName));
> +         assertTrue(view.getBlobStore().containerExists(containerName));

> Added suggested test to deleteContainerIfEmpty where it belongs.

Perhaps I'm missing something here, but wouldn't this be something like 
`deleteContainerIfEmptyReturnsTrueIfContainerNotFound`, rather than just a 
true/false check if the container exists and is empty/not empty?

/cc @shrinandj 

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

Reply via email to