jclouds-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject jclouds git commit: Correct B2 SkipException for testPutObjectStream
Date Wed, 19 Dec 2018 11:23:45 GMT
Repository: jclouds
Updated Branches:
  refs/heads/2.1.x 13d1de039 -> 294fc4b35


Correct B2 SkipException for testPutObjectStream


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

Branch: refs/heads/2.1.x
Commit: 294fc4b353832aef859e3db9255211daba2596c1
Parents: 13d1de0
Author: Andrew Gaul <gaul@apache.org>
Authored: Wed Dec 19 03:22:16 2018 -0800
Committer: Andrew Gaul <gaul@apache.org>
Committed: Wed Dec 19 03:23:33 2018 -0800

----------------------------------------------------------------------
 .../b2/blobstore/integration/B2BlobIntegrationLiveTest.java   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/294fc4b3/providers/b2/src/test/java/org/jclouds/b2/blobstore/integration/B2BlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/providers/b2/src/test/java/org/jclouds/b2/blobstore/integration/B2BlobIntegrationLiveTest.java
b/providers/b2/src/test/java/org/jclouds/b2/blobstore/integration/B2BlobIntegrationLiveTest.java
index b7acf98..93fc8f1 100644
--- a/providers/b2/src/test/java/org/jclouds/b2/blobstore/integration/B2BlobIntegrationLiveTest.java
+++ b/providers/b2/src/test/java/org/jclouds/b2/blobstore/integration/B2BlobIntegrationLiveTest.java
@@ -126,12 +126,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest
{
 
    @Override
    public void testPutObjectStream() throws InterruptedException, IOException, ExecutionException
{
-      try {
-         super.testPutObjectStream();
-         failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
-      } catch (IllegalArgumentException iae) {
-         throw new SkipException("B2 does not support the Cache-Control header", iae);
-      }
+      throw new SkipException("B2 requires a Content-Length");
    }
 
    @Override


Mime
View raw message