> @@ -128,6 +132,31 @@ public void testMultipartChunkedFileStream() throws 
> IOException, InterruptedExce
>        }
>     }
>  
> +   @Test(groups = { "integration", "live" })
> +   public void testMultipartChunkedInputStream() throws 
> InterruptedException, IOException {
> +      String container = getContainerName();
> +      try {
> +         BlobStore blobStore = view.getBlobStore();
> +
> +         blobStore.createContainerInLocation(null, container);
> +
> +         File inFile = createFileBiggerThan(PART_SIZE);
> +         File outFile = new File("target/lots-of-const-readback.txt");
> +
> +         InputStream contentToUpload = new FileInputStream(inFile);

Did we lost a comment here about why we're using an InputStream?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/192/files#r8268682

Reply via email to