ivandika3 commented on code in PR #10591:
URL: https://github.com/apache/ozone/pull/10591#discussion_r3481721589


##########
hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/protocolPB/TestS3GrpcOmTransport.java:
##########
@@ -272,6 +282,214 @@ public void testGrpcFailoverExceedMaxMesgLen() throws 
Exception {
     assertThrows(Exception.class, () -> client.submitRequest(omRequest));
   }
 
+  @Test
+  public void testFollowerReadSkipsKnownLeader() throws Exception {

Review Comment:
   This test then can be changed so that if the initial OM is a leader, it will 
not trigger failover.



##########
hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/protocolPB/TestS3GrpcOmTransport.java:
##########
@@ -272,6 +282,214 @@ public void testGrpcFailoverExceedMaxMesgLen() throws 
Exception {
     assertThrows(Exception.class, () -> client.submitRequest(omRequest));
   }
 
+  @Test
+  public void testFollowerReadSkipsKnownLeader() throws Exception {

Review Comment:
   This test then can be changed so that if the initial OM is the leader, it 
will not trigger failover.



-- 
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]

Reply via email to