Skip ACL tests on GCS These tests use request signing which GCS does not currently support.
Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/9c05604e Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/9c05604e Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/9c05604e Branch: refs/heads/master Commit: 9c05604e994867695bb6418c3b34ec9c6ec8bf83 Parents: 10318ed Author: Andrew Gaul <[email protected]> Authored: Fri Jan 22 21:09:54 2016 -0800 Committer: Andrew Gaul <[email protected]> Committed: Fri Jan 22 21:09:54 2016 -0800 ---------------------------------------------------------------------- .../GoogleCloudStorageBlobIntegrationLiveTest.java | 11 +++++++++++ .../GoogleCloudStorageContainerIntegrationLiveTest.java | 11 +++++++++++ 2 files changed, 22 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/9c05604e/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java ---------------------------------------------------------------------- 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 db1bcd8..803307f 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); + } + } } http://git-wip-us.apache.org/repos/asf/jclouds/blob/9c05604e/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java ---------------------------------------------------------------------- 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 4caac24..bd5afb8 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); + } + } }
