adoroszlai commented on code in PR #5556:
URL: https://github.com/apache/ozone/pull/5556#discussion_r1393113975
##########
hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/tasks/TestOmTableInsightTask.java:
##########
@@ -75,8 +79,9 @@ public class TestOmTableInsightTask extends
AbstractReconSqlDBTest {
private void initializeInjector() throws IOException {
reconOMMetadataManager = getTestReconOmMetadataManager(
- initializeNewOmMetadataManager(temporaryFolder.newFolder()),
- temporaryFolder.newFolder());
+ initializeNewOmMetadataManager(Files.createDirectory(
+ temporaryFolder.resolve("JunitOmDBDir")).toFile()),
Review Comment:
`temporaryFolder` is a `@TempDir`, so the path is different for each test
case. Example:
```
/tmp/junit5823932975861174146/JunitOmDBDir
/tmp/junit842977494714222952/JunitOmDBDir
/tmp/junit2826054961670227457/JunitOmDBDir
/tmp/junit6353237819497228942/JunitOmDBDir
/tmp/junit1432827117522397492/JunitOmDBDir
/tmp/junit4588903889103211047/JunitOmDBDir
/tmp/junit8280824666979319137/JunitOmDBDir
```
--
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]