From 063716b667eca39676c7f50c33bcb1b8cd71c604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Alcarraz?= Date: Thu, 8 Feb 2024 19:12:37 -0500 Subject: [PATCH] Delete created test files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since it seems the windows worker fails because directory not empty Signed-off-by: Andrés Alcarraz --- jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java b/jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java index 53ea1f4654..1d92d54492 100644 --- a/jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java +++ b/jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java @@ -470,6 +470,7 @@ public void testDeleteOldLogsWithoutCustomMaxDepth() throws ConfigurationExcepti listener.setConfiguration(cfg); listener.deleteOldLogs(); assertThat("file should have not been deleted", child.toFile(), is(anExistingFile())); + Files.delete(child); //so it doesn't give problems in windows } @Test