From 9297066be922849d8c5a0a325767dedaec90a549 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 22 Dec 2014 14:27:02 -0800 Subject: [PATCH] Reduce GCS multipart test input size --- .../integration/GoogleCloudStorageBlobIntegrationLiveTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java index 8a79df9c32..4cb9281520 100644 --- a/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java +++ b/providers/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java @@ -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);