Repository: jclouds
Updated Branches:
  refs/heads/master e423bc949 -> 41bdd9c5a


Skip unimplemented signed URL tests in S3 provider

jclouds aws-s3 provider supports these but s3 does not.  Also expect
failure in atmos and azureblob.  Follow on to
a4c40e15cdddda30a9683d12bf022d94025567c8.


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/41bdd9c5
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/41bdd9c5
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/41bdd9c5

Branch: refs/heads/master
Commit: 41bdd9c5a9e02aa407e7036d3fddceb138f8b3b7
Parents: e423bc9
Author: Andrew Gaul <[email protected]>
Authored: Thu May 12 12:11:07 2016 -0700
Committer: Andrew Gaul <[email protected]>
Committed: Thu May 12 12:12:52 2016 -0700

----------------------------------------------------------------------
 .../integration/AtmosBlobSignerLiveTest.java    |  6 +++
 .../integration/S3BlobSignerLiveTest.java       | 45 ++++++++++++++++++++
 .../integration/AzureBlobSignerLiveTest.java    |  6 +++
 3 files changed, 57 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/41bdd9c5/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git 
a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosBlobSignerLiveTest.java
 
b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosBlobSignerLiveTest.java
index fe050f3..76ec5d8 100644
--- 
a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosBlobSignerLiveTest.java
+++ 
b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosBlobSignerLiveTest.java
@@ -16,6 +16,8 @@
  */
 package org.jclouds.atmos.blobstore.integration;
 
+import static org.testng.Assert.fail;
+
 import java.io.IOException;
 
 import org.jclouds.blobstore.integration.internal.BaseBlobSignerLiveTest;
@@ -32,6 +34,7 @@ public class AtmosBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignGetUrlWithTime() throws InterruptedException, 
IOException {
       try {
          super.testSignGetUrlWithTime();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Atmos", uoe);
       }
@@ -41,6 +44,7 @@ public class AtmosBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignGetUrlWithTimeExpired() throws InterruptedException, 
IOException {
       try {
          super.testSignGetUrlWithTimeExpired();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Atmos", uoe);
       }
@@ -50,6 +54,7 @@ public class AtmosBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignPutUrlWithTime() throws Exception {
       try {
          super.testSignPutUrlWithTime();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Atmos", uoe);
       }
@@ -59,6 +64,7 @@ public class AtmosBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignPutUrlWithTimeExpired() throws Exception {
       try {
          super.testSignPutUrlWithTimeExpired();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Atmos", uoe);
       }

http://git-wip-us.apache.org/repos/asf/jclouds/blob/41bdd9c5/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git 
a/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobSignerLiveTest.java
 
b/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobSignerLiveTest.java
index b667f00..87ee17a 100644
--- 
a/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobSignerLiveTest.java
+++ 
b/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobSignerLiveTest.java
@@ -16,8 +16,13 @@
  */
 package org.jclouds.s3.blobstore.integration;
 
+import static org.testng.Assert.fail;
+
+import java.io.IOException;
+
 import org.jclouds.blobstore.integration.internal.BaseBlobSignerLiveTest;
 import org.jclouds.blobstore.integration.internal.BaseBlobStoreIntegrationTest;
+import org.testng.SkipException;
 import org.testng.annotations.Test;
 
 @Test(groups = "live", testName = "S3BlobSignerLiveTest")
@@ -27,4 +32,44 @@ public class S3BlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
       provider = "s3";
       BaseBlobStoreIntegrationTest.SANITY_CHECK_RETURNED_BUCKET_NAME = true;
    }
+
+   @Test
+   public void testSignGetUrlWithTime() throws InterruptedException, 
IOException {
+      try {
+         super.testSignGetUrlWithTime();
+         fail();
+      } catch (UnsupportedOperationException uoe) {
+         throw new SkipException("not supported by S3 signer", uoe);
+      }
+   }
+
+   @Test
+   public void testSignGetUrlWithTimeExpired() throws InterruptedException, 
IOException {
+      try {
+         super.testSignGetUrlWithTimeExpired();
+         fail();
+      } catch (UnsupportedOperationException uoe) {
+         throw new SkipException("not supported by S3 signer", uoe);
+      }
+   }
+
+   @Test
+   public void testSignPutUrlWithTime() throws Exception {
+      try {
+         super.testSignPutUrlWithTime();
+         fail();
+      } catch (UnsupportedOperationException uoe) {
+         throw new SkipException("not supported by S3 signer", uoe);
+      }
+   }
+
+   @Test
+   public void testSignPutUrlWithTimeExpired() throws Exception {
+      try {
+         super.testSignPutUrlWithTimeExpired();
+         fail();
+      } catch (UnsupportedOperationException uoe) {
+         throw new SkipException("not supported by S3 signer", uoe);
+      }
+   }
 }

http://git-wip-us.apache.org/repos/asf/jclouds/blob/41bdd9c5/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobSignerLiveTest.java
----------------------------------------------------------------------
diff --git 
a/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobSignerLiveTest.java
 
b/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobSignerLiveTest.java
index 55a7b8f..b08c88f 100644
--- 
a/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobSignerLiveTest.java
+++ 
b/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobSignerLiveTest.java
@@ -16,6 +16,8 @@
  */
 package org.jclouds.azureblob.blobstore.integration;
 
+import static org.testng.Assert.fail;
+
 import java.io.IOException;
 
 import org.jclouds.blobstore.integration.internal.BaseBlobSignerLiveTest;
@@ -32,6 +34,7 @@ public class AzureBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignGetUrlWithTime() throws InterruptedException, 
IOException {
       try {
          super.testSignGetUrlWithTime();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Azure", uoe);
       }
@@ -41,6 +44,7 @@ public class AzureBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignGetUrlWithTimeExpired() throws InterruptedException, 
IOException {
       try {
          super.testSignGetUrlWithTimeExpired();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Azure", uoe);
       }
@@ -50,6 +54,7 @@ public class AzureBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignPutUrlWithTime() throws Exception {
       try {
          super.testSignPutUrlWithTime();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Azure", uoe);
       }
@@ -59,6 +64,7 @@ public class AzureBlobSignerLiveTest extends 
BaseBlobSignerLiveTest {
    public void testSignPutUrlWithTimeExpired() throws Exception {
       try {
          super.testSignPutUrlWithTimeExpired();
+         fail();
       } catch (UnsupportedOperationException uoe) {
          throw new SkipException("not supported in Azure", uoe);
       }

Reply via email to