Correct B2 SkipException for testPutObjectStream

This commit is contained in:
Andrew Gaul 2018-12-19 03:22:16 -08:00
parent a6cb6cde29
commit 4cc4e1d76c
1 changed files with 1 additions and 6 deletions

View File

@ -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