> + public void testMultipartChunkedFilenames() throws InterruptedException,
> IOException {
> + String containerName = getContainerName();
> + try {
> + BlobStore blobStore = view.getBlobStore();
> + String objectName = "file.txt";
> + long countBefore = blobStore.countBlobs(containerName);
> +
> + // we want 11 parts
> + File fileToUpload = createFileExactly(PART_SIZE * 11,
> objectName);
> + addMultipartBlobToContainer(containerName, objectName,
> fileToUpload);
> +
> + // did we create enough parts?
> + long countAfter = blobStore.countBlobs(containerName);
> + assertNotEquals(countBefore, countAfter,
> + "No blob was created");
> + assertTrue(countAfter - countBefore > 1,
I am fine with both.
I am not sure if we should check fore the object count in general. There is
another test which already tests the object/manifest relation.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/427/files#r14412792