andrewgaul commented on this pull request.
> @@ -123,6 +124,50 @@ public void uploadMultipartBlob() {
// The etag returned by Swift is not the md5 of the Blob uploaded
// It is the md5 of the concatenated segment md5s
}
+
+ @Test
+ public void uploadMultipartBlobDLO() {
+ Blob blob = blobStore.blobBuilder(bigFile.getName())
+ .payload(new FilePayload(bigFile))
+ .build();
+ // configure the blobstore to use multipart uploading of the file
+ OpenStackSwiftPutOptions opt = new OpenStackSwiftPutOptions();
+ opt.multipart(executor);
+ opt.DLO(true);
+ String eTag = blobStore.putBlob(CONTAINER, blob, opt);
+ // assertEquals(eTag, etag);
+ // The etag returned by Swift is not the md5 of the Blob uploaded
+ // It is the md5 of the concatenated segment md5s
Why not verify the ETag?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1090#pullrequestreview-35507363