From 378d4f1b90d8f2c7fc600ba301c77cfd922922c4 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 8 Aug 2023 04:08:48 +0000 Subject: [PATCH] Remove log spam for files that are cleaned up Signed-off-by: Peter Nied --- .../opensearch/security/test/helper/cluster/ClusterHelper.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/org/opensearch/security/test/helper/cluster/ClusterHelper.java b/src/test/java/org/opensearch/security/test/helper/cluster/ClusterHelper.java index 5a175f57f7..344b7cddc2 100644 --- a/src/test/java/org/opensearch/security/test/helper/cluster/ClusterHelper.java +++ b/src/test/java/org/opensearch/security/test/helper/cluster/ClusterHelper.java @@ -319,14 +319,12 @@ private void deleteTestsDataDirectory() throws IOException { Files.walkFileTree(testsDataDir.toPath(), new SimpleFileVisitor<>() { @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { - System.out.println("Deleting file " + file.getFileName()); Files.delete(file); return FileVisitResult.CONTINUE; } @Override public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { - System.out.println("Deleting directory " + dir.getFileName()); Files.delete(dir); return FileVisitResult.CONTINUE; }