Reduce GCS multipart test input size

This commit is contained in:
Andrew Gaul 2014-12-22 14:27:02 -08:00
parent f8c6845c30
commit 9297066be9

View File

@ -232,7 +232,7 @@ public class GoogleCloudStorageBlobIntegrationLiveTest extends BaseBlobIntegrati
}
protected void addMultipartBlobToContainer(String containerName, String key) throws IOException {
ByteSource sourceToUpload = TestUtils.randomByteSource().slice(0, (long) (PART_SIZE * 1.1));
ByteSource sourceToUpload = TestUtils.randomByteSource().slice(0, PART_SIZE + 1);
BlobStore blobStore = view.getBlobStore();
blobStore.createContainerInLocation(null, containerName);