You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2014/12/23 01:06:45 UTC

jclouds-labs-google git commit: Reduce GCS multipart test input size

Repository: jclouds-labs-google
Updated Branches:
  refs/heads/master 75b03b14b -> b5415aff9


Reduce GCS multipart test input size


Project: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/commit/b5415aff
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/tree/b5415aff
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/diff/b5415aff

Branch: refs/heads/master
Commit: b5415aff933bb4cdf1b2428ff5650a6876a58e8a
Parents: 75b03b1
Author: Andrew Gaul <ga...@apache.org>
Authored: Mon Dec 22 14:27:02 2014 -0800
Committer: Andrew Gaul <ga...@apache.org>
Committed: Mon Dec 22 16:06:05 2014 -0800

----------------------------------------------------------------------
 .../integration/GoogleCloudStorageBlobIntegrationLiveTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-labs-google/blob/b5415aff/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
----------------------------------------------------------------------
diff --git a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java b/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
index 8a79df9..4cb9281 100644
--- a/google-cloud-storage/src/test/java/org/jclouds/googlecloudstorage/blobstore/integration/GoogleCloudStorageBlobIntegrationLiveTest.java
+++ b/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);