mirror of https://github.com/apache/jclouds.git
Call BlobUtils.clearContainer directly
BaseAsyncBlobStore.clearContainer returns a Future which we previously did not manage correctly, hanging when deleting non-existent containers. Call BlobUtils.clearContainer directly to address this.
This commit is contained in:
parent
fc892e9226
commit
0053c77b9b
|
@ -271,7 +271,7 @@ public abstract class BaseAsyncBlobStore implements AsyncBlobStore {
|
|||
if (!Assertions.eventuallyTrue(new Supplier<Boolean>() {
|
||||
public Boolean get() {
|
||||
try {
|
||||
clearContainer(container, recursive());
|
||||
blobUtils.clearContainer(container, recursive());
|
||||
return deleteAndVerifyContainerGone(container);
|
||||
} catch (ContainerNotFoundException e) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue