Skip testDirectory on S3

This test cannot succeed due to the way directories are implemented as
prefix pseudo-files in S3.
This commit is contained in:
Andrew Gaul 2013-08-26 22:54:47 -07:00
parent 12f29fd8a9
commit 15d9abead0
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ package org.jclouds.s3.blobstore.integration;
import org.jclouds.blobstore.integration.internal.BaseBlobStoreIntegrationTest;
import org.jclouds.blobstore.integration.internal.BaseContainerIntegrationTest;
import org.testng.SkipException;
import org.testng.annotations.Test;
/**
@ -31,4 +32,11 @@ public class S3ContainerIntegrationLiveTest extends BaseContainerIntegrationTest
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.
throw new SkipException("not yet implemented");
}
}