mirror of
https://github.com/apache/jclouds.git
synced 2025-03-03 06:49:11 +00:00
Correct B2 SkipException for testPutObjectStream
This commit is contained in:
parent
13d1de0397
commit
294fc4b353
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user