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 2015/03/30 22:30:12 UTC

jclouds git commit: JCLOUDS-183: Enable Azure testGetIfModifiedSince

Repository: jclouds
Updated Branches:
  refs/heads/master 1e289b22d -> ac0e5c243


JCLOUDS-183: Enable Azure testGetIfModifiedSince

Also comment on why we skip other tests.


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

Branch: refs/heads/master
Commit: ac0e5c243953f76fa2a31321281e74bed8597388
Parents: 1e289b2
Author: Andrew Gaul <ga...@apache.org>
Authored: Fri Mar 27 17:01:22 2015 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Mon Mar 30 13:07:35 2015 -0700

----------------------------------------------------------------------
 .../integration/AzureBlobIntegrationLiveTest.java      | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/ac0e5c24/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobIntegrationLiveTest.java b/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobIntegrationLiveTest.java
index 6be4bee..85e77be 100644
--- a/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobIntegrationLiveTest.java
+++ b/providers/azureblob/src/test/java/org/jclouds/azureblob/blobstore/integration/AzureBlobIntegrationLiveTest.java
@@ -43,14 +43,11 @@ public class AzureBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
    public AzureBlobIntegrationLiveTest() {
       provider = "azureblob";
    }
+
+   // TODO: Azure response has a quoted ETag but request requires unquoted ETag
    @Override
    public void testGetIfMatch() throws InterruptedException {
-      // this currently fails
-   }
-
-    @Override
-    public void testGetIfModifiedSince() throws InterruptedException {
-       // this currently fails!
+      throw new SkipException("not yet implemented");
    }
 
    public void testCreateBlobWithExpiry() throws InterruptedException {
@@ -58,9 +55,9 @@ public class AzureBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
    }
 
    @Override
-   @Test(expectedExceptions = IllegalArgumentException.class)
+   @Test
    public void testPutObjectStream() throws InterruptedException, IOException, ExecutionException {
-      super.testPutObjectStream();
+      throw new SkipException("Azure requires a Content-Length");
    }
 
    @Test(groups = { "integration", "live" })