Repository: jclouds
Updated Branches:
  refs/heads/master a6cb6cde2 -> 4cc4e1d76


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/4cc4e1d7
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/4cc4e1d7
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/4cc4e1d7

Branch: refs/heads/master
Commit: 4cc4e1d76c3b030f94ffbcaae6d30e21e9a54ec0
Parents: a6cb6cd
Author: Andrew Gaul <[email protected]>
Authored: Wed Dec 19 03:22:16 2018 -0800
Committer: Andrew Gaul <[email protected]>
Committed: Wed Dec 19 03:22:52 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/4cc4e1d7/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

Reply via email to