Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from shaon/lessthanminimum
Browse files Browse the repository at this point in the history
fix s3mpu lessthanminimum test
  • Loading branch information
shaon authored Jun 14, 2016
2 parents 4a45473 + a01c09d commit e0ead00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,14 @@ public void run() {
+ initiateMpuResult.getUploadId() + ", part number 1");
UploadPartResult uploadPartResult =
s3.uploadPart(new UploadPartRequest().withBucketName(bucketName).withKey(key).withUploadId(initiateMpuResult.getUploadId())
.withPartNumber(1).withFile(smallFile));
.withPartNumber(1).withFile(smallFile).withPartSize( smallFile.length() ));
partETags.add(uploadPartResult.getPartETag());

print(account + ": Uploading file of size " + smallFile.length() + " bytes for object " + key + ", upload ID "
+ initiateMpuResult.getUploadId() + ", part number 2");
uploadPartResult =
s3.uploadPart(new UploadPartRequest().withBucketName(bucketName).withKey(key).withUploadId(initiateMpuResult.getUploadId())
.withPartNumber(2).withFile(smallFile));
.withPartNumber(2).withFile(smallFile).withPartSize( smallFile.length() ));
partETags.add(uploadPartResult.getPartETag());

boolean error = false;
Expand Down

0 comments on commit e0ead00

Please sign in to comment.