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 22:55:52 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\"";

Just double-checking that the value that S3 returns is also the value that we'd want here,
even with the filesystem provider. Assuming it's worth it, have we been able to verify that
other providers produce the same value?

-- 
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#pullrequestreview-168618950
Mime
View raw message