> @@ -31,4 +32,11 @@ public S3ContainerIntegrationLiveTest() {
> provider = "s3";
> BaseBlobStoreIntegrationTest.SANITY_CHECK_RETURNED_BUCKET_NAME = true;
> }
> +
> + @Override
> + public void testDirectory() throws InterruptedException {
> + // S3 does not support directories, rather it supports prefixes which
> look
> + // like directories. We should filter out the fake RELATIVE_PATH.
We should change jclouds logic to make S3's fake directories act more like the
jclouds concept of directories. Consider mkdir -p a/b/c and ls a/ . jclouds
will return a, a/b, and a/b/c in this situation since it matches based on the
prefix. ls a/b/ returns a/b and a/b/c . I think we should match other
providers and return b in the first situation and b in the second. Long story
short, this test can succeed.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/129/files#r6016367