kaijchen commented on a change in pull request #3214:
URL: https://github.com/apache/ozone/pull/3214#discussion_r830447744



##########
File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithData.java
##########
@@ -467,20 +467,11 @@ public void testOMRestart() throws Exception {
     // Get the latest snapshotIndex from the leader OM.
     long leaderOMSnaphsotIndex = leaderOM.getRatisSnapshotIndex();
 

Review comment:
       And it's better to get `leaderOMSnaphsotIndex` before 
`followerOM1.restart()`.




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