hanishakoneru 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_r288807522
##########
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:
OMDummyCreateBucketResponse seems to be doing the same thing as
OMBucketCreateResponse. Why do we need 2 different tests?
----------------------------------------------------------------
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]