You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2016/01/23 06:11:10 UTC

jclouds-labs-google git commit: Skip ACL tests on GCS

Repository: jclouds-labs-google
Updated Branches:
  refs/heads/master 0c9eb363e -> 2eae14985


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-labs-google/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/commit/2eae1498
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/2eae1498
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/2eae1498

Branch: refs/heads/master
Commit: 2eae149851ea16f99a66056074ebba347d502406
Parents: 0c9eb36
Author: Andrew Gaul <ga...@apache.org>
Authored: Fri Jan 22 21:09:54 2016 -0800
Committer: Andrew Gaul <ga...@apache.org>
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-labs-google/blob/2eae1498/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java b/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
index db1bcd8..803307f 100644
--- a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
+++ b/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-labs-google/blob/2eae1498/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java b/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java
index 4caac24..bd5afb8 100644
--- a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageContainerIntegrationLiveTest.java
+++ b/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);
+      }
+   }
 }