Repository: jclouds Updated Branches: refs/heads/master 4cc4e1d76 -> 33d326620
Enable B2 testCopy* tests Backblaze has changed something such that these now pass. Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/33d32662 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/33d32662 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/33d32662 Branch: refs/heads/master Commit: 33d3266205ff572d10002561a282810a12e236f0 Parents: 4cc4e1d Author: Andrew Gaul <[email protected]> Authored: Wed Dec 19 10:16:20 2018 -0800 Committer: Andrew Gaul <[email protected]> Committed: Wed Dec 19 10:16:20 2018 -0800 ---------------------------------------------------------------------- .../integration/B2BlobIntegrationLiveTest.java | 50 -------------------- 1 file changed, 50 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/33d32662/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 93fc8f1..0ecb6bd 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 @@ -65,16 +65,6 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest { } @Override - public void testCopyBlobCopyMetadata() throws Exception { - try { - super.testCopyBlobCopyMetadata(); - failBecauseExceptionWasNotThrown(IllegalArgumentException.class); - } catch (IllegalArgumentException iae) { - throw new SkipException("B2 does not support the Cache-Control header", iae); - } - } - - @Override public void testCopyBlobReplaceMetadata() throws Exception { try { super.testCopyBlobReplaceMetadata(); @@ -85,46 +75,6 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest { } @Override - public void testCopyIfMatch() throws Exception { - try { - super.testCopyIfMatch(); - failBecauseExceptionWasNotThrown(IllegalArgumentException.class); - } catch (IllegalArgumentException iae) { - throw new SkipException("B2 does not support the Cache-Control header", iae); - } - } - - @Override - public void testCopyIfNoneMatch() throws Exception { - try { - super.testCopyIfNoneMatch(); - failBecauseExceptionWasNotThrown(IllegalArgumentException.class); - } catch (IllegalArgumentException iae) { - throw new SkipException("B2 does not support the Cache-Control header", iae); - } - } - - @Override - public void testCopyIfModifiedSince() throws Exception { - try { - super.testCopyIfModifiedSince(); - failBecauseExceptionWasNotThrown(IllegalArgumentException.class); - } catch (IllegalArgumentException iae) { - throw new SkipException("B2 does not support the Cache-Control header", iae); - } - } - - @Override - public void testCopyIfUnmodifiedSince() throws Exception { - try { - super.testCopyIfUnmodifiedSince(); - failBecauseExceptionWasNotThrown(IllegalArgumentException.class); - } catch (IllegalArgumentException iae) { - throw new SkipException("B2 does not support the Cache-Control header", iae); - } - } - - @Override public void testPutObjectStream() throws InterruptedException, IOException, ExecutionException { throw new SkipException("B2 requires a Content-Length"); }
