Skip to content

Commit

Permalink
Delete created test files.
Browse files Browse the repository at this point in the history
Since it seems the windows worker fails because directory not empty

Signed-off-by: Andrés Alcarraz <[email protected]>
  • Loading branch information
alcarraz committed Feb 9, 2024
1 parent 91d9899 commit 063716b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jpos/src/test/java/org/jpos/util/DailyLogListenerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 063716b

Please sign in to comment.