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 2017/11/25 05:17:07 UTC

[05/11] jclouds git commit: Enable passing Atmos tests

Enable passing Atmos tests

Also clarify why we skip certain tests with SkipException.


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

Branch: refs/heads/2.0.x
Commit: 28a70b7fb4cad07aa11d3bb4efef5c7f7881daee
Parents: 48a8400
Author: Andrew Gaul <ga...@apache.org>
Authored: Sun Oct 29 13:43:10 2017 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Fri Nov 24 19:25:35 2017 -0800

----------------------------------------------------------------------
 .../AtmosContainerIntegrationLiveTest.java      |  5 +++
 .../integration/AtmosIntegrationLiveTest.java   | 44 ++------------------
 2 files changed, 8 insertions(+), 41 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/28a70b7f/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java
index 8561ecd..c29f80c 100644
--- a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java
+++ b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosContainerIntegrationLiveTest.java
@@ -65,4 +65,9 @@ public class AtmosContainerIntegrationLiveTest extends BaseContainerIntegrationT
    public void testDelimiterList() {
       throw new SkipException("Delimiter support is not yet implemented");
    }
+
+   @Override
+   public void testListContainerPrefix() throws InterruptedException {
+      throw new SkipException("Prefix support is not yet implemented");
+   }
 }

http://git-wip-us.apache.org/repos/asf/jclouds/blob/28a70b7f/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java
index 4f6e991..6ccdad2 100644
--- a/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java
+++ b/apis/atmos/src/test/java/org/jclouds/atmos/blobstore/integration/AtmosIntegrationLiveTest.java
@@ -42,39 +42,8 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
    }
 
    @Override
-   @Test(enabled = false)
-   public void testGetIfMatch() {
-      // no etag support
-   }
-
-   @Override
-   @Test(enabled = false)
-   public void testGetIfModifiedSince() {
-      // not supported
-   }
-
-   @Override
-   @Test(enabled = false)
-   public void testGetIfNoneMatch() {
-      // no etag support
-   }
-
-   @Override
-   @Test(enabled = false)
-   public void testGetIfUnmodifiedSince() {
-      // not supported
-   }
-
-   @Override
-   @Test(enabled = false)
-   public void testGetRange() {
-      // TODO this should work
-   }
-
-   @Override
-   @Test(enabled = false)
    public void testGetTwoRanges() {
-      // not supported
+      throw new SkipException("Atmos MIME-encodes multiple ranges");
    }
 
    // not supported
@@ -122,16 +91,9 @@ public class AtmosIntegrationLiveTest extends BaseBlobIntegrationTest {
       throw new SkipException("Expiration not yet implemented");
    }
 
-   @Test(enabled = false)
-   // problem with the stub and md5, live is fine
+   @Override
    public void testMetadata() {
-      // TODO
-   }
-
-   @Test(enabled = false)
-   // problem with the stub and md5, live is fine
-   public void testPutObject() throws Exception {
-      // TODO
+      throw new SkipException("Atmos cannot overwrite blob when Content-MD5 is set");
    }
 
    @Override