adoroszlai commented on code in PR #5892:
URL: https://github.com/apache/ozone/pull/5892#discussion_r1438904504
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerPrepare.java:
##########
@@ -338,11 +339,9 @@ public void testCancelPrepare() throws Exception {
}
private boolean logFilesPresentInRatisPeer(OzoneManager om) {
- String ratisDir = om.getOmRatisServer().getServer().getProperties()
- .get("raft.server.storage.dir");
- String groupIdDirName =
- om.getOmRatisServer().getServer().getGroupIds().iterator()
- .next().getUuid().toString();
+ final RaftServer.Division server =
om.getOmRatisServer().getServerDivision();
+ final String ratisDir =
server.getRaftServer().getProperties().get("raft.server.storage.dir");
+ final String groupIdDirName = server.getGroup().getGroupId().toString();
Review Comment:
`TestOzoneManagerPrepare` is failing due to mismatch in the directory name.
```suggestion
final String groupIdDirName =
server.getGroup().getGroupId().getUuid().toString();
```
--
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]