Xushaohong commented on code in PR #4978:
URL: https://github.com/apache/ozone/pull/4978#discussion_r1246362742
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisRequest.java:
##########
@@ -29,30 +32,38 @@
import org.apache.hadoop.ozone.om.ratis.utils.OzoneManagerRatisUtils;
import org.apache.hadoop.ozone.om.request.OMRequestTestUtils;
import org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos;
+import
org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
+import org.junit.jupiter.api.Assertions;
import org.junit.rules.TemporaryFolder;
import org.mockito.Mockito;
+import java.io.IOException;
import java.util.ArrayList;
+import static
org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.Status.INVALID_REQUEST;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.when;
/**
- * Test: Creating a client request for a bucket which doesn't exist.
+ * Test OM Ratis request handling.
*/
public class TestOzoneManagerRatisRequest {
@Rule public TemporaryFolder folder = new TemporaryFolder();
private OzoneManager ozoneManager;
private OzoneConfiguration ozoneConfiguration = new OzoneConfiguration();
private OMMetadataManager omMetadataManager;
+ private OzoneManagerRatisServer ratisServer;
+ private ProtocolMessageMetrics<ProtocolMessageEnum> protocolMessageMetrics;
+ private long lastTransactionIndexForNonRatis;
Review Comment:
Why do these get declared here? They seem to be local variables. Is this
for future use?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]