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 2019/02/08 04:04:39 UTC

[jclouds] branch 2.1.x updated: JCLOUDS-1489: expect S3 put archive to succeed

This is an automated email from the ASF dual-hosted git repository.

gaul pushed a commit to branch 2.1.x
in repository https://gitbox.apache.org/repos/asf/jclouds.git


The following commit(s) were added to refs/heads/2.1.x by this push:
     new b3aa23b  JCLOUDS-1489: expect S3 put archive to succeed
b3aa23b is described below

commit b3aa23bb0517e7edca32bd9b2ce3ff863e14abce
Author: Andrew Gaul <ga...@apache.org>
AuthorDate: Thu Feb 7 20:01:48 2019 -0800

    JCLOUDS-1489: expect S3 put archive to succeed
---
 .../integration/S3BlobIntegrationLiveTest.java     | 26 +---------------------
 1 file changed, 1 insertion(+), 25 deletions(-)

diff --git a/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobIntegrationLiveTest.java b/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobIntegrationLiveTest.java
index 09ab6b3..e510561 100644
--- a/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobIntegrationLiveTest.java
+++ b/apis/s3/src/test/java/org/jclouds/s3/blobstore/integration/S3BlobIntegrationLiveTest.java
@@ -16,17 +16,13 @@
  */
 package org.jclouds.s3.blobstore.integration;
 
-import static org.assertj.core.api.Fail.failBecauseExceptionWasNotThrown;
-
 import java.io.IOException;
 import java.util.Properties;
 import java.util.concurrent.ExecutionException;
 
 import org.jclouds.blobstore.integration.internal.BaseBlobIntegrationTest;
 import org.jclouds.blobstore.integration.internal.BaseBlobStoreIntegrationTest;
-import org.jclouds.http.HttpResponseException;
 import org.jclouds.s3.blobstore.strategy.MultipartUpload;
-import org.testng.SkipException;
 import org.testng.annotations.Test;
 
 @Test(groups = "live", testName = "S3BlobIntegrationLiveTest")
@@ -48,30 +44,10 @@ public class S3BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
    protected long getMinimumMultipartBlobSize() {
       return MultipartUpload.MIN_PART_SIZE + 1;
    }
-   
+
    @Override
    @Test(expectedExceptions = IllegalArgumentException.class)
    public void testPutObjectStream() throws InterruptedException, IOException, ExecutionException {
       super.testPutObjectStream();
    }
-
-   @Override
-   public void testPutBlobTierArchive() throws Exception {
-      try {
-         super.testPutBlobTierArchive();
-         failBecauseExceptionWasNotThrown(HttpResponseException.class);
-      } catch (HttpResponseException hre) {
-         throw new SkipException("S3 does not allow setting Glacier storage class on putBlob", hre);
-      }
-   }
-
-   @Override
-   public void testPutBlobTierArchiveMultipart() throws Exception {
-      try {
-         super.testPutBlobTierArchiveMultipart();
-         failBecauseExceptionWasNotThrown(HttpResponseException.class);
-      } catch (HttpResponseException hre) {
-         throw new SkipException("S3 does not allow setting Glacier storage class on putBlob", hre);
-      }
-   }
 }