jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds/jclouds] Filesystem: Fix the MPU ETags to match S3. (#1252)
Date Thu, 25 Oct 2018 23:07:47 GMT
demobox commented on this pull request.



>           .append("-")
          .append(partsList.size())
          .append("\"")
          .toString();
       assertThat(blob.getMetadata().getETag()).isEqualTo(expectedETag);
    }
 
+   @Test(groups = { "integration", "live" })
+   public void testMultipartUploadMultiplePartsKnownETag() throws Exception {
+      BlobStore blobStore = view.getBlobStore();
+      String container = getContainerName();
+      // Pre-computed ETag returned by AWS S3 for the MPU consisting of two 5MB parts filled
with 'b'
+      String expectedETag = "\"84462a16f6a60478d50148808aa609c1-2\"";

> The initial proposal I had was to use AWS S3-style ETags because it allows for an easy
way to emulate S3 using jcloud

Clear, thanks!

-- 
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/1252#discussion_r228363705
Mime
View raw message