bharatviswa504 commented on a change in pull request #850: HDDS-1551. Implement
Bucket Write Requests to use Cache and DoubleBuf…
URL: https://github.com/apache/hadoop/pull/850#discussion_r288814519
##########
File path:
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithOMResponse.java
##########
@@ -390,7 +405,11 @@ private OMBucketCreateResponse createBucket(String
volumeName,
OmBucketInfo omBucketInfo =
OmBucketInfo.newBuilder().setVolumeName(volumeName)
.setBucketName(bucketName).setCreationTime(Time.now()).build();
- return new OMBucketCreateResponse(omBucketInfo);
+ return new OMBucketCreateResponse(omBucketInfo, OMResponse.newBuilder()
Review comment:
This is added based on Arpit's comment in HDDS-1512. As we want to test OM
Double Buffer Implementation without actual OM Responses too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]