From c77204a18983f4e6850b9cd8ddbd98ec67f630b8 Mon Sep 17 00:00:00 2001 From: I H Shaon Date: Mon, 13 Jun 2016 16:25:39 -0700 Subject: [PATCH] Update S3MultiPartUploadTests.java --- com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java b/com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java index cf231f6a..3161cc32 100644 --- a/com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java +++ b/com/eucalyptus/tests/awssdk/S3MultiPartUploadTests.java @@ -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());