mirror of https://github.com/apache/jclouds.git
Use prefix option in prefix test
Directory is deprecated.
This commit is contained in:
parent
421764dfd1
commit
63bfc2f6e8
|
@ -308,7 +308,8 @@ public class BaseContainerIntegrationTest extends BaseBlobStoreIntegrationTest {
|
|||
addTenObjectsUnderPrefix(containerName, prefix);
|
||||
add15UnderRoot(containerName);
|
||||
awaitConsistency();
|
||||
PageSet<? extends StorageMetadata> container = view.getBlobStore().list(containerName, inDirectory(prefix));
|
||||
PageSet<? extends StorageMetadata> container = view.getBlobStore().list(
|
||||
containerName, new ListContainerOptions().recursive().prefix(prefix));
|
||||
assert container.getNextMarker() == null;
|
||||
assertEquals(container.size(), 10);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue