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 #8 from shaon/shaon-patch-1
Browse files Browse the repository at this point in the history
Update S3MultiPartUploadTests.java
  • Loading branch information
shaon authored Jun 14, 2016
2 parents e0ead00 + c77204a commit 144599b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@ public void run() {
}
});
} catch (Exception e) {
s3.abortMultipartUpload(new AbortMultipartUploadRequest(bucketName, key, initResp.getUploadId()));
/**
* 'abortMultipartUpload' throws InternalError for ceph-radosgw backend,
* if there isn't any part uploaded successfully.
* https://eucalyptus.atlassian.net/browse/EUCA-12446
**/
// s3.abortMultipartUpload(new AbortMultipartUploadRequest(bucketName, key, initResp.getUploadId()));
if (e instanceof AmazonServiceException) {
assertThat(true, "expected an exception to be thrown because a bad upload ID was specified");
print("an exception was received with message - " + e.getMessage());
Expand Down

0 comments on commit 144599b

Please sign in to comment.