HDDS-1875. Fix failures in TestS3MultipartUploadAbortResponse. (#1188)
This commit is contained in:
parent
90e5eb0a48
commit
a6f47b5876
|
@ -113,7 +113,7 @@ public class TestS3MultipartResponse {
|
||||||
.setAbortMultiPartUploadResponse(
|
.setAbortMultiPartUploadResponse(
|
||||||
MultipartUploadAbortResponse.newBuilder().build()).build();
|
MultipartUploadAbortResponse.newBuilder().build()).build();
|
||||||
|
|
||||||
return new S3MultipartUploadAbortResponse(multipartKey, Time.now(),
|
return new S3MultipartUploadAbortResponse(multipartKey, timeStamp,
|
||||||
omMultipartKeyInfo,
|
omMultipartKeyInfo,
|
||||||
omResponse);
|
omResponse);
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class TestS3MultipartUploadAbortResponse
|
||||||
PartKeyInfo part1 = createPartKeyInfo(volumeName, bucketName,
|
PartKeyInfo part1 = createPartKeyInfo(volumeName, bucketName,
|
||||||
keyName, 1);
|
keyName, 1);
|
||||||
PartKeyInfo part2 = createPartKeyInfo(volumeName, bucketName,
|
PartKeyInfo part2 = createPartKeyInfo(volumeName, bucketName,
|
||||||
keyName, 1);
|
keyName, 2);
|
||||||
|
|
||||||
addPart(1, part1, omMultipartKeyInfo);
|
addPart(1, part1, omMultipartKeyInfo);
|
||||||
addPart(2, part2, omMultipartKeyInfo);
|
addPart(2, part2, omMultipartKeyInfo);
|
||||||
|
|
Loading…
Reference in New Issue