Galsza commented on code in PR #5556:
URL: https://github.com/apache/ozone/pull/5556#discussion_r1392216827
##########
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:
Could this cause data leakage to other tests? initializeInjector is called
before each test where we create a directory with the same name each time.
--
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]