Skip ACL tests on GCS

These tests use request signing which GCS does not currently support.
This commit is contained in:
Andrew Gaul 2016-01-22 21:09:54 -08:00
parent 10318ed777
commit 9c05604e99
2 changed files with 22 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import java.util.Properties;
import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import org.assertj.core.api.Fail;
import org.jclouds.blobstore.BlobStore; import org.jclouds.blobstore.BlobStore;
import org.jclouds.blobstore.domain.Blob; import org.jclouds.blobstore.domain.Blob;
import org.jclouds.blobstore.domain.BlobBuilder.PayloadBlobBuilder; import org.jclouds.blobstore.domain.BlobBuilder.PayloadBlobBuilder;
@ -257,4 +258,14 @@ public class GoogleCloudStorageBlobIntegrationLiveTest extends BaseBlobIntegrati
public void deleteObject(String name) throws InterruptedException { public void deleteObject(String name) throws InterruptedException {
super.deleteObject(name); super.deleteObject(name);
} }
@Override
public void testSetBlobAccess() throws Exception {
try {
super.testSetBlobAccess();
Fail.failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
} catch (UnsupportedOperationException uoe) {
throw new SkipException("request signing not supported on GCS", uoe);
}
}
} }

View File

@ -25,6 +25,7 @@ import java.util.Properties;
import javax.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import org.assertj.core.api.Fail;
import org.jclouds.blobstore.domain.BlobMetadata; import org.jclouds.blobstore.domain.BlobMetadata;
import org.jclouds.blobstore.domain.PageSet; import org.jclouds.blobstore.domain.PageSet;
import org.jclouds.blobstore.domain.StorageMetadata; import org.jclouds.blobstore.domain.StorageMetadata;
@ -87,4 +88,14 @@ public class GoogleCloudStorageContainerIntegrationLiveTest extends BaseContaine
public void testListMarkerAfterLastKey() throws Exception { public void testListMarkerAfterLastKey() throws Exception {
throw new SkipException("cannot specify arbitrary markers"); throw new SkipException("cannot specify arbitrary markers");
} }
@Override
public void testSetContainerAccess() throws Exception {
try {
super.testSetContainerAccess();
Fail.failBecauseExceptionWasNotThrown(UnsupportedOperationException.class);
} catch (UnsupportedOperationException uoe) {
throw new SkipException("request signing not supported on GCS", uoe);
}
}
} }