Skip to content

Commit b6621ae

Browse files
committed
delete on exit is sufficient
1 parent 6e5f087 commit b6621ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/src/test/java/opengrok/auth/plugin/LdapAttrPluginTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public static void beforeClass() throws IOException {
7878

7979
@AfterAll
8080
public static void afterClass() {
81-
whitelistFile.delete();
81+
whitelistFile.deleteOnExit();
8282
}
8383

8484
@BeforeEach

0 commit comments

Comments
 (0)