mirror of https://github.com/apache/jclouds.git
Correct B2 SkipException for testPutObjectStream
This commit is contained in:
parent
a6cb6cde29
commit
4cc4e1d76c
|
@ -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…
Reference in New Issue