HDDS-1875. Fix failures in TestS3MultipartUploadAbortResponse. (#1188)

This commit is contained in:
Bharat Viswanadham 2019-07-31 09:37:53 -07:00 committed by Arpit Agarwal
parent 90e5eb0a48
commit a6f47b5876
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public S3MultipartUploadAbortResponse createS3AbortMPUResponse(
.setAbortMultiPartUploadResponse(
MultipartUploadAbortResponse.newBuilder().build()).build();
return new S3MultipartUploadAbortResponse(multipartKey, Time.now(),
return new S3MultipartUploadAbortResponse(multipartKey, timeStamp,
omMultipartKeyInfo,
omResponse);
}

View File

@ -82,7 +82,7 @@ public void testAddDBToBatchWithParts() throws Exception {
PartKeyInfo part1 = createPartKeyInfo(volumeName, bucketName,
keyName, 1);
PartKeyInfo part2 = createPartKeyInfo(volumeName, bucketName,
keyName, 1);
keyName, 2);
addPart(1, part1, omMultipartKeyInfo);
addPart(2, part2, omMultipartKeyInfo);