Repository: jclouds Updated Branches: refs/heads/2.1.x 294fc4b35 -> 2eede280d
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/2eede280 Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/2eede280 Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/2eede280 Branch: refs/heads/2.1.x Commit: 2eede280d24f8bf065992f530c6948185d1d7f90 Parents: 294fc4b Author: Andrew Gaul <[email protected]> Authored: Wed Dec 19 10:16:20 2018 -0800 Committer: Andrew Gaul <[email protected]> Committed: Wed Dec 19 10:17:49 2018 -0800 ---------------------------------------------------------------------- .../integration/B2BlobIntegrationLiveTest.java | 50 -------------------- 1 file changed, 50 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds/blob/2eede280/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"); }
