From 9c05604e994867695bb6418c3b34ec9c6ec8bf83 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Fri, 22 Jan 2016 21:09:54 -0800 Subject: [PATCH] Skip ACL tests on GCS These tests use request signing which GCS does not currently support. --- .../GoogleCloudStorageBlobIntegrationLiveTest.java | 11 +++++++++++ ...oogleCloudStorageContainerIntegrationLiveTest.java | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java index db1bcd8da5..803307fba8 100644 --- a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java +++ b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java @@ -29,6 +29,7 @@ import java.util.Properties; import javax.ws.rs.core.MediaType; +import org.assertj.core.api.Fail; import org.jclouds.blobstore.BlobStore; import org.jclouds.blobstore.domain.Blob; import org.jclouds.blobstore.domain.BlobBuilder.PayloadBlobBuilder; @@ -257,4 +258,14 @@ public class GoogleCloudStorageBlobIntegrationLiveTest extends BaseBlobIntegrati public void deleteObject(String name) throws InterruptedException { 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); + } + } } diff --git a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java index 4caac24f58..bd5afb8425 100644 --- a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java +++ b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java @@ -25,6 +25,7 @@ import java.util.Properties; import javax.ws.rs.core.MediaType; +import org.assertj.core.api.Fail; import org.jclouds.blobstore.domain.BlobMetadata; import org.jclouds.blobstore.domain.PageSet; import org.jclouds.blobstore.domain.StorageMetadata; @@ -87,4 +88,14 @@ public class GoogleCloudStorageContainerIntegrationLiveTest extends BaseContaine public void testListMarkerAfterLastKey() throws Exception { 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); + } + } }