mirror of
https://github.com/apache/jclouds.git
synced 2025-02-28 21:39:09 +00:00
Correct Cache-Control SkipException message
This commit is contained in:
parent
66caf6d954
commit
8188287bc2
@ -68,7 +68,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyBlobCopyMetadata();
|
super.testCopyBlobCopyMetadata();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyBlobReplaceMetadata();
|
super.testCopyBlobReplaceMetadata();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyIfMatch();
|
super.testCopyIfMatch();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyIfNoneMatch();
|
super.testCopyIfNoneMatch();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyIfModifiedSince();
|
super.testCopyIfModifiedSince();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testCopyIfUnmodifiedSince();
|
super.testCopyIfUnmodifiedSince();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ public final class B2BlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||||||
super.testPutObjectStream();
|
super.testPutObjectStream();
|
||||||
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
failBecauseExceptionWasNotThrown(IllegalArgumentException.class);
|
||||||
} catch (IllegalArgumentException iae) {
|
} catch (IllegalArgumentException iae) {
|
||||||
throw new SkipException("B2 requires repeatable payloads to calculate SHA1 hash", iae);
|
throw new SkipException("B2 does not support the Cache-Control header", iae);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user