mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 22:32:07 +01:00
Request deletion of temp test files upon exit
This commit is contained in:
parent
c8a281d6a4
commit
863d443052
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class TestUtils {
|
||||||
public static File createTempDirectory() throws IOException {
|
public static File createTempDirectory() throws IOException {
|
||||||
String name = randomString(10);
|
String name = randomString(10);
|
||||||
File dir = Files.createTempDirectory(name).toFile();
|
File dir = Files.createTempDirectory(name).toFile();
|
||||||
// dir.deleteOnExit();
|
dir.deleteOnExit();
|
||||||
return dir;
|
return dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue