kevinrr888 commented on code in PR #5547:
URL: https://github.com/apache/accumulo/pull/5547#discussion_r2124785311


##########
minicluster/src/test/java/org/apache/accumulo/minicluster/MiniAccumuloClusterClasspathTest.java:
##########
@@ -60,26 +59,21 @@ public class MiniAccumuloClusterClasspathTest extends 
WithTestNames {
   public static final String ROOT_PASSWORD = "superSecret";
   public static final String ROOT_USER = "root";
 
-  public static File testDir;
   private static File jarFile;
   private static MiniAccumuloCluster accumulo;
 
   @BeforeAll
   public static void setupMiniCluster() throws Exception {
-    Path baseDir = 
Path.of(System.getProperty("user.dir")).resolve("target").resolve("mini-tests");
-    if (!Files.isDirectory(baseDir)) {
-      Files.createDirectories(baseDir);
-    }
-    testDir = 
baseDir.resolve(MiniAccumuloClusterTest.class.getName()).toFile();
-    FileUtils.deleteQuietly(testDir);
-    assertTrue(testDir.mkdir());
+    Path testDir = tempDir.resolve(MiniAccumuloClusterTest.class.getName());

Review Comment:
   should this be `MiniAccumuloClusterClasspathTest`?



-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to