xiaoyuyao commented on a change in pull request #2254: URL: https://github.com/apache/ozone/pull/2254#discussion_r635422874
########## File path: hadoop-hdds/common/src/test/java/org/apache/hadoop/ozone/container/ContainerTestHelper.java ########## @@ -490,7 +527,23 @@ public static ContainerCommandRequestProto getDeleteBlockRequest( request.setContainerID(blockID.getContainerID()); request.setDeleteBlock(delRequest); request.setDatanodeUuid(pipeline.getFirstNode().getUuidString()); - return request.build(); + return request; + } + + public static Builder newGetCommittedBlockLengthBuilder(Pipeline pipeline, Review comment: Similar like above, can we add a token parameter for the new methods? -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org