> @@ -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);

As mentioned elsewhere: add a comment here to the effect of
```
// using an InputStream rather than just the File as the payload since it 
behaves differently
```
or something like that?

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

Reply via email to